summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/mcinst-avx-lowering.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-10-08 05:53:50 +0000
committerCraig Topper <craig.topper@gmail.com>2013-10-08 05:53:50 +0000
commit72c8cd7bc3f4a0ac1ad6f9a0200ec032da5d7de1 (patch)
tree66bfe9fe5e1eee4f6706c7130e40508e950c9ef9 /llvm/test/CodeGen/X86/mcinst-avx-lowering.ll
parent9a13ac9a408a6e198444c5ccbba0fae3b6e9bdb0 (diff)
downloadbcm5719-llvm-72c8cd7bc3f4a0ac1ad6f9a0200ec032da5d7de1.tar.gz
bcm5719-llvm-72c8cd7bc3f4a0ac1ad6f9a0200ec032da5d7de1.zip
Remove some instructions that existed to provide aliases to the assembler. Can be done with InstAlias instead. Unfortunately, this was causing printer to use 'vmovq' or 'vmovd' based on what was parsed. To cleanup the inconsistencies convert all 'vmovd' with 64-bit registers to 'vmovq', but provide an alias so that 'vmovd' will still parse.
llvm-svn: 192171
Diffstat (limited to 'llvm/test/CodeGen/X86/mcinst-avx-lowering.ll')
-rw-r--r--llvm/test/CodeGen/X86/mcinst-avx-lowering.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/mcinst-avx-lowering.ll b/llvm/test/CodeGen/X86/mcinst-avx-lowering.ll
index 41f96e8856c..db72e0871c8 100644
--- a/llvm/test/CodeGen/X86/mcinst-avx-lowering.ll
+++ b/llvm/test/CodeGen/X86/mcinst-avx-lowering.ll
@@ -4,7 +4,7 @@ define i64 @t1(double %d_ivar) nounwind uwtable ssp {
entry:
; CHECK: t1
%0 = bitcast double %d_ivar to i64
-; CHECK: vmovd
+; CHECK: vmovq
; CHECK: encoding: [0xc4,0xe1,0xf9,0x7e,0xc0]
ret i64 %0
}
@@ -13,7 +13,7 @@ define double @t2(i64 %d_ivar) nounwind uwtable ssp {
entry:
; CHECK: t2
%0 = bitcast i64 %d_ivar to double
-; CHECK: vmovd
+; CHECK: vmovq
; CHECK: encoding: [0xc4,0xe1,0xf9,0x6e,0xc7]
ret double %0
}
OpenPOWER on IntegriCloud