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 | 1bafa6c8860f9227713892b58d6cf44eb41c9c4f (patch) | |
| tree | 9c6a69f79074b7af0b367271ece3d34c5f2bb54c | |
| parent | d70febc73b10426df761309cdc7454cb33391e20 (diff) | |
| download | bcm5719-llvm-1bafa6c8860f9227713892b58d6cf44eb41c9c4f.tar.gz bcm5719-llvm-1bafa6c8860f9227713892b58d6cf44eb41c9c4f.zip | |
trip count computation deficiency
llvm-svn: 51222
| -rw-r--r-- | llvm/lib/Target/README.txt | 9 |
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; +} + +//===---------------------------------------------------------------------===// |

