diff options
Diffstat (limited to 'test/CodeGen/X86/avx-bitcast.ll')
-rw-r--r-- | test/CodeGen/X86/avx-bitcast.ll | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/CodeGen/X86/avx-bitcast.ll b/test/CodeGen/X86/avx-bitcast.ll index bb3e5a5..e34c20f 100644 --- a/test/CodeGen/X86/avx-bitcast.ll +++ b/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 |