Add dominance check for the instruction being hoisted.
[oota-llvm.git] / test / CodeGen / X86 / licm-nested.ll
index b0105ac533bdd04b52e30e004b7152ba544d78c4..901d987e8d446171797458676ff4064e057aa245 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 3
+; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -o /dev/null -stats -info-output-file - | grep machine-licm | grep 2
 
 ; MachineLICM should be able to hoist the symbolic addresses out of
 ; the inner loops.