[x86] eliminate unnecessary shuffling/moves with unary scalar math ops (PR21507)
[oota-llvm.git] / test / CodeGen / X86 / cse-add-with-overflow.ll
index 1fcc03f117d39d03ddd37df5e2d43dcb993a5a7f..dc02fe9158402c986f611ba79b6402c52d19d45d 100644 (file)
@@ -15,8 +15,8 @@
 
 define i64 @redundantadd(i64* %a0, i64* %a1) {
 entry:
-  %tmp8 = load i64* %a0, align 8
-  %tmp12 = load i64* %a1, align 8
+  %tmp8 = load i64, i64* %a0, align 8
+  %tmp12 = load i64, i64* %a1, align 8
   %tmp13 = icmp ult i64 %tmp12, -281474976710656
   br i1 %tmp13, label %exit1, label %body