summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/avx-bitcast.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
commitb9bc43852ceb74c845d28b96594e1ef4ae41329f (patch)
tree0255ad187191fb340866b20a68bd7fc1c8246724 /test/CodeGen/X86/avx-bitcast.ll
parent3bd3419e86867ba88e7ece12c9184a01759ed917 (diff)
downloadllvm-b9bc43852ceb74c845d28b96594e1ef4ae41329f.tar.gz
llvm-b9bc43852ceb74c845d28b96594e1ef4ae41329f.tar.bz2
llvm-b9bc43852ceb74c845d28b96594e1ef4ae41329f.tar.xz
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192171 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx-bitcast.ll')
-rw-r--r--test/CodeGen/X86/avx-bitcast.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avx-bitcast.ll b/test/CodeGen/X86/avx-bitcast.ll
index ecc71be7c0..c9d828c1f6 100644
--- a/test/CodeGen/X86/avx-bitcast.ll
+++ b/test/CodeGen/X86/avx-bitcast.ll
@@ -1,7 +1,7 @@
; RUN: llc < %s -O0 -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
; CHECK: vmovsd (%
-; CHECK-NEXT: vmovd %xmm
+; CHECK-NEXT: vmovq %xmm
define i64 @bitcasti64tof64() {
%a = load double* undef
%b = bitcast double %a to i64