[MBP] Fix a really horrible bug in MachineBlockPlacement, but behind
[oota-llvm.git] / test / CodeGen / X86 / atomic_op.ll
index d0ab28aa61f93883d3b95253f9c168d2ba0971ac..aa895dedfe4cb8a7b452e90f3f44396e0dbc1c9b 100644 (file)
@@ -22,7 +22,7 @@ entry:
        store i32 3855, i32* %ort
        store i32 3855, i32* %xort
        store i32 4, i32* %temp
-       %tmp = load i32* %temp
+       %tmp = load i32, i32* %temp
         ; CHECK: lock
         ; CHECK: xaddl
   %0 = atomicrmw add i32* %val1, i32 %tmp monotonic