Merging r259798, r259835:
[oota-llvm.git] / test / CodeGen / PowerPC / lbz-from-ld-shift.ll
index 3eacd6a45fb4778144f452f57c7b91266bb9f53e..7696b84708d87b9e4d1245149db974e836eed117 100644 (file)
@@ -5,7 +5,7 @@ target triple = "powerpc64-unknown-linux-gnu"
 ; Function Attrs: nounwind readonly
 define signext i32 @test(i32* nocapture readonly %P) #0 {
 entry:
-  %0 = load i32* %P, align 4
+  %0 = load i32, i32* %P, align 4
   %shr = lshr i32 %0, 24
   ret i32 %shr