projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7176ca2
)
use update_llc_test_checks.py to tighten checking; remove unnecessary testing params
author
Sanjay Patel
<spatel@rotateright.com>
Fri, 3 Apr 2015 17:09:37 +0000
(17:09 +0000)
committer
Sanjay Patel
<spatel@rotateright.com>
Fri, 3 Apr 2015 17:09:37 +0000
(17:09 +0000)
llvm-svn: 234024
llvm/test/CodeGen/X86/avx-bitcast.ll
patch
|
blob
|
history
diff --git
a/llvm/test/CodeGen/X86/avx-bitcast.ll
b/llvm/test/CodeGen/X86/avx-bitcast.ll
index
bb3e5a5
..
e34c20f
100644
(file)
--- a/
llvm/test/CodeGen/X86/avx-bitcast.ll
+++ b/
llvm/test/CodeGen/X86/avx-bitcast.ll
@@
-1,8
+1,11
@@
-; RUN: llc < %s -O0 -mtriple=x86_64-
apple-darwin -mcpu=corei7-avx
-mattr=+avx | FileCheck %s
+; RUN: llc < %s -O0 -mtriple=x86_64-
unknown-unknown
-mattr=+avx | FileCheck %s
-; CHECK: vmovsd (%
-; CHECK-NEXT: vmovq %xmm
define i64 @bitcasti64tof64() {
+; CHECK-LABEL: bitcasti64tof64:
+; CHECK: # BB#0:
+; CHECK: vmovsd {{.*#+}} xmm0 = mem[0],zero
+; CHECK-NEXT: vmovq %xmm0, %rax
+; CHECK-NEXT: retq
%a = load double, double* undef
%b = bitcast double %a to i64
ret i64 %b