X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FLICM%2Fscalar_promote.ll;h=f6c0f0821a30bbaf9fe59ed66b3cb2ffad896e80;hb=eb0fdc150a807a5fd1b656c13fdf019d93ff4bc3;hp=8720a6a80ba14775a00f97c4fd9af286cdf1284e;hpb=4cda190ef512853b290db8b4054367fa2e3e094c;p=oota-llvm.git diff --git a/test/Transforms/LICM/scalar_promote.ll b/test/Transforms/LICM/scalar_promote.ll index 8720a6a80ba..f6c0f0821a3 100644 --- a/test/Transforms/LICM/scalar_promote.ll +++ b/test/Transforms/LICM/scalar_promote.ll @@ -1,37 +1,35 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -licm -stats |& \ -; RUN: grep {memory locations promoted to register} +; RUN: llvm-as < %s | opt -licm -disable-output -stats |& \ +; RUN: grep {memory locations promoted to register} +@X = global i32 7 ; [#uses=4] -%X = global int 7 - -void %testfunc(int %i) { +define void @testfunc(i32 %i) { +;