aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/masked-iv-safe.ll
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-22 00:46:49 +0000
committerDan Gohman <gohman@apple.com>2010-01-22 00:46:49 +0000
commit7979b72febb73f7bb1d1ed095a68f210822b2e7c (patch)
treed74dd6f92611e69526c8684793e34a6a3513c0cc /test/CodeGen/X86/masked-iv-safe.ll
parent3ec68f97ead4a2bc339b1b9012ca4cb2c4dd706a (diff)
downloadexternal_llvm-7979b72febb73f7bb1d1ed095a68f210822b2e7c.zip
external_llvm-7979b72febb73f7bb1d1ed095a68f210822b2e7c.tar.gz
external_llvm-7979b72febb73f7bb1d1ed095a68f210822b2e7c.tar.bz2
Revert LoopStrengthReduce.cpp to pre-r94061 for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/masked-iv-safe.ll')
-rw-r--r--test/CodeGen/X86/masked-iv-safe.ll7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/CodeGen/X86/masked-iv-safe.ll b/test/CodeGen/X86/masked-iv-safe.ll
index 7111d68..bc493bd 100644
--- a/test/CodeGen/X86/masked-iv-safe.ll
+++ b/test/CodeGen/X86/masked-iv-safe.ll
@@ -4,9 +4,9 @@
; RUN: not grep sar %t
; RUN: not grep shl %t
; RUN: grep add %t | count 2
-; RUN: grep inc %t | count 3
+; RUN: grep inc %t | count 4
; RUN: grep dec %t | count 2
-; RUN: grep lea %t | count 3
+; RUN: grep lea %t | count 2
; Optimize away zext-inreg and sext-inreg on the loop induction
; variable using trip-count information.
@@ -127,9 +127,6 @@ return:
ret void
}
-; TODO: If we could handle all the loads and stores as post-inc users, we could
-; use {-1,+,1} in the induction variable register, and we'd get another inc,
-; one fewer add, and a comparison with zero.
define void @another_count_up(double* %d, i64 %n) nounwind {
entry:
br label %loop