aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/licm-nested.ll
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-10-11 18:09:58 +0000
committerDevang Patel <dpatel@apple.com>2011-10-11 18:09:58 +0000
commit2e350479478ccf809e2142a4f0ad8062342577cc (patch)
tree2214c443347104fc3bff47b8804b9e7b925ac7cf /test/CodeGen/X86/licm-nested.ll
parent5f119a62376edcfe42414343f9d360151e3c1a59 (diff)
Add dominance check for the instruction being hoisted.
For example, MachineLICM should not hoist a load that is not guaranteed to be executed. Radar 10254254. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/licm-nested.ll')
-rw-r--r--test/CodeGen/X86/licm-nested.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/licm-nested.ll b/test/CodeGen/X86/licm-nested.ll
index b0105ac533..901d987e8d 100644
--- a/test/CodeGen/X86/licm-nested.ll
+++ b/test/CodeGen/X86/licm-nested.ll
@@ -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.