aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/licm-nested.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-17 22:50:37 +0000
committerDan Gohman <gohman@apple.com>2010-08-17 22:50:37 +0000
commitbbc1da8dedf77c0dd3845e09c2d78024d8738646 (patch)
tree8eada220302ff521b77fd93e27cc34f010af7678 /test/CodeGen/X86/licm-nested.ll
parentdc140c6e7b8350ca51aa1d408c10e25a27826e2c (diff)
downloadexternal_llvm-bbc1da8dedf77c0dd3845e09c2d78024d8738646.zip
external_llvm-bbc1da8dedf77c0dd3845e09c2d78024d8738646.tar.gz
external_llvm-bbc1da8dedf77c0dd3845e09c2d78024d8738646.tar.bz2
Tweak IVUsers' concept of "interesting" to exclude add recurrences
where the step value is an induction variable from an outer loop, to avoid trouble trying to re-expand such expressions. This effectively hides such expressions from indvars and lsr, which prevents them from getting into trouble. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111317 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 71685bb..870f687 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 -stats -info-output-file - | grep machine-licm | grep 2
+; RUN: llc -mtriple=x86_64-apple-darwin -march=x86-64 < %s -stats -info-output-file - | grep machine-licm | grep 3
; MachineLICM should be able to hoist the symbolic addresses out of
; the inner loops.