diff options
author | Chris Lattner <sabre@nondot.org> | 2008-05-17 15:37:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-05-17 15:37:38 +0000 |
commit | b5783106c469b9ec286e7c193e25a9e2f4e80368 (patch) | |
tree | b8937dbd2695c69e9f2d62a2fc4f15d7ffe7bb91 /lib/Target/README.txt | |
parent | fbaa37937f58a8fcd32e4c6f0dce8773d7be9837 (diff) | |
download | llvm-b5783106c469b9ec286e7c193e25a9e2f4e80368.tar.gz llvm-b5783106c469b9ec286e7c193e25a9e2f4e80368.tar.bz2 llvm-b5783106c469b9ec286e7c193e25a9e2f4e80368.tar.xz |
trip count computation deficiency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51222 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r-- | lib/Target/README.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 2c12089699..1b55ac69bf 100644 --- a/lib/Target/README.txt +++ b/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; +} + +//===---------------------------------------------------------------------===// |