X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FLICM%2Fscalar_promote.ll;h=f6c0f0821a30bbaf9fe59ed66b3cb2ffad896e80;hb=eb0fdc150a807a5fd1b656c13fdf019d93ff4bc3;hp=817492e2d99fab69014c7065b9ba3879fb035ba1;hpb=96d20c57f3617af218e8aab6f0d69279e63ab9c1;p=oota-llvm.git diff --git a/test/Transforms/LICM/scalar_promote.ll b/test/Transforms/LICM/scalar_promote.ll index 817492e2d99..f6c0f0821a3 100644 --- a/test/Transforms/LICM/scalar_promote.ll +++ b/test/Transforms/LICM/scalar_promote.ll @@ -1,21 +1,35 @@ -; RUN: as < %s | opt -licm -stats 2>&1 | 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) { +;