summaryrefslogtreecommitdiff
path: root/test/CodeGen
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2010-12-10 00:26:57 +0000
committerNate Begeman <natebegeman@mac.com>2010-12-10 00:26:57 +0000
commit2ea8ee7c76b8d8754d81072e691caf25d23289e3 (patch)
treeb3d1820d852b71777b8db8f87672b044555d6e5c /test/CodeGen
parent1c952b9cc98e84b28f68f0f6cf11197263f89863 (diff)
downloadllvm-2ea8ee7c76b8d8754d81072e691caf25d23289e3.tar.gz
llvm-2ea8ee7c76b8d8754d81072e691caf25d23289e3.tar.bz2
llvm-2ea8ee7c76b8d8754d81072e691caf25d23289e3.tar.xz
Formalize the notion that AVX and SSE are non-overlapping extensions from the compiler's point of view. Per email discussion, we either want to always use VEX-prefixed instructions or never use them, and are taking "HasAVX" to mean "Always use VEX". Passing -mattr=-avx,+sse42 should serve to restore legacy SSE support when desirable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/avx-128.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avx-128.ll b/test/CodeGen/X86/avx-128.ll
index a72160be71..2bd3b5dfed 100644
--- a/test/CodeGen/X86/avx-128.ll
+++ b/test/CodeGen/X86/avx-128.ll
@@ -4,7 +4,7 @@
define void @zero() nounwind ssp {
entry:
- ; CHECK: vpxor
+ ; CHECK: vxorps
; CHECK: vmovaps
store <4 x float> zeroinitializer, <4 x float>* @z, align 16
ret void