use update_llc_test_checks.py to tighten checking; remove unnecessary testing params
authorSanjay Patel <spatel@rotateright.com>
Fri, 3 Apr 2015 17:09:37 +0000 (17:09 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 3 Apr 2015 17:09:37 +0000 (17:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234024 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/avx-bitcast.ll

index bb3e5a5bcbcc810f96e34feadec1e4db1ac66856..e34c20fcbd730d71d2d3512996518f28cda4683f 100644 (file)
@@ -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