X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FPowerPC%2Fmcm-11.ll;h=457c60afb57e78fa3d4262187dbf4f7b5cadc6c8;hb=dc12298109bedb81925152a1b8d0447a7c43db06;hp=f2bc4c9cb72cf0a7a50ea8df810b3e159483360f;hpb=421021157eda12453b4fea7ea853d8c472bd8532;p=oota-llvm.git diff --git a/test/CodeGen/PowerPC/mcm-11.ll b/test/CodeGen/PowerPC/mcm-11.ll index f2bc4c9cb72..457c60afb57 100644 --- a/test/CodeGen/PowerPC/mcm-11.ll +++ b/test/CodeGen/PowerPC/mcm-11.ll @@ -10,15 +10,16 @@ target triple = "powerpc64-unknown-linux-gnu" define signext i32 @test_file_static() nounwind { entry: - %0 = load i32* @gi, align 4 + %0 = load i32, i32* @gi, align 4 %inc = add nsw i32 %0, 1 store i32 %inc, i32* @gi, align 4 ret i32 %0 } -; CHECK: test_file_static: +; CHECK-LABEL: test_file_static: ; CHECK: addis [[REG1:[0-9]+]], 2, [[VAR:[a-z0-9A-Z_.]+]]@toc@ha -; CHECK: lwz {{[0-9]+}}, [[VAR]]@toc@l([[REG1]]) +; CHECK: lwa {{[0-9]+}}, [[VAR]]@toc@l([[REG1]]) +; CHECK-NOT: extsw ; CHECK: stw {{[0-9]+}}, [[VAR]]@toc@l([[REG1]]) ; CHECK: .type [[VAR]],@object ; CHECK: .data