[x86] set default reciprocal (division and square root) codegen to match GCC
[oota-llvm.git] / test / CodeGen / X86 / 2009-08-19-LoadNarrowingMiscompile.ll
index 8fa27eb6822c9abbdcbbd6110f512d37d480b97a..5926ab4b5c7240edc831d4c8dab5447ecc728a52 100644 (file)
@@ -1,11 +1,11 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-pc-linux | FileCheck %s
+; RUN: llc < %s -march=x86 -mtriple=i386-pc-linux | FileCheck %s
 
 @a = external global i96, align 4
 @b = external global i64, align 8
 
 define void @c() nounwind {
 ; CHECK: movl a+8, %eax
-  %srcval1 = load i96* @a, align 4
+  %srcval1 = load i96, i96* @a, align 4
   %sroa.store.elt2 = lshr i96 %srcval1, 64
   %tmp = trunc i96 %sroa.store.elt2 to i64
 ; CHECK: movl %eax, b