aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/bc-extract.ll
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-29 22:27:25 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-11-29 22:27:25 +0000
commit0edd83bfff5b29a6d08718a0abc13aa7197c372d (patch)
tree69e32cd52f47874f228f455fe57e378da5a1822a /test/CodeGen/X86/bc-extract.ll
parentbe4c84464892ea0a4bf51773502f2b0a086fe184 (diff)
downloadexternal_llvm-0edd83bfff5b29a6d08718a0abc13aa7197c372d.zip
external_llvm-0edd83bfff5b29a6d08718a0abc13aa7197c372d.tar.gz
external_llvm-0edd83bfff5b29a6d08718a0abc13aa7197c372d.tar.bz2
Make X86::FsFLD0SS / FsFLD0SD real pseudo-instructions.
Like V_SET0, these instructions are expanded by ExpandPostRA to xorps / vxorps so they can participate in execution domain swizzling. This also makes the AVX variants redundant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/bc-extract.ll')
-rw-r--r--test/CodeGen/X86/bc-extract.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/bc-extract.ll b/test/CodeGen/X86/bc-extract.ll
index ac972a8..ceabcb7 100644
--- a/test/CodeGen/X86/bc-extract.ll
+++ b/test/CodeGen/X86/bc-extract.ll
@@ -11,7 +11,7 @@ entry:
define float @extractFloat2() nounwind {
entry:
- ; CHECK: pxor %xmm0, %xmm0
+ ; CHECK: xorps %xmm0, %xmm0
%tmp4 = bitcast <1 x double> <double 0x000000003F800000> to <2 x float>
%tmp5 = extractelement <2 x float> %tmp4, i32 1
ret float %tmp5