X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Favx-bitcast.ll;h=e34c20fcbd730d71d2d3512996518f28cda4683f;hb=45b5f7e457423d324c24bf8ebdbcad687faec2b2;hp=ecc71be7c0dc22847beebe5523f6c296a81e5b97;hpb=7ec8fb8830108574b58c85c740d1857ccd2b0aba;p=oota-llvm.git diff --git a/test/CodeGen/X86/avx-bitcast.ll b/test/CodeGen/X86/avx-bitcast.ll index ecc71be7c0d..e34c20fcbd7 100644 --- a/test/CodeGen/X86/avx-bitcast.ll +++ b/test/CodeGen/X86/avx-bitcast.ll @@ -1,9 +1,12 @@ -; 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: vmovd %xmm define i64 @bitcasti64tof64() { - %a = load double* undef +; 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 }