summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-17 15:37:38 +0000
committerChris Lattner <sabre@nondot.org>2008-05-17 15:37:38 +0000
commit1bafa6c8860f9227713892b58d6cf44eb41c9c4f (patch)
tree9c6a69f79074b7af0b367271ece3d34c5f2bb54c
parentd70febc73b10426df761309cdc7454cb33391e20 (diff)
downloadbcm5719-llvm-1bafa6c8860f9227713892b58d6cf44eb41c9c4f.tar.gz
bcm5719-llvm-1bafa6c8860f9227713892b58d6cf44eb41c9c4f.zip
trip count computation deficiency
llvm-svn: 51222
-rw-r--r--llvm/lib/Target/README.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index 2c120896996..1b55ac69bf5 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/lib/Target/README.txt
@@ -806,3 +806,12 @@ To fix this, we need to make CanEvaluateInDifferentType smarter.
//===---------------------------------------------------------------------===//
+We should be able to evaluate this loop:
+
+int test(int x_offs) {
+ while (x_offs > 4)
+ x_offs -= 4;
+ return x_offs;
+}
+
+//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud