mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-20 11:32:33 +00:00
trip count computation deficiency
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fbaa37937f
commit
b5783106c4
@ -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;
|
||||
}
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user