Make this test more specific. There are 3 stats that matched "machine-licm".
authorBob Wilson <bob.wilson@apple.com>
Tue, 11 Oct 2011 23:34:31 +0000 (23:34 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 11 Oct 2011 23:34:31 +0000 (23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141741 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/licm-nested.ll

index 901d987e8d446171797458676ff4064e057aa245..c3f991d7a9b03e5b725aba8a4493c47f613f9840 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -o /dev/null -stats -info-output-file - | grep machine-licm | grep 2
+; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -o /dev/null -stats -info-output-file - | grep "hoisted out of loops" | grep 3
 
 ; MachineLICM should be able to hoist the symbolic addresses out of
 ; the inner loops.