| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Simplify [su]max(MAX, n) to MAX. This comes up in loop tripcount | Dan Gohman | 2009-06-24 | 1 | -3/+3 |
| | | | | | | | | | | computations in loops with multiple exits. Adjust the testcase for PR4436 so that the relevant portion isn't optimized away. llvm-svn: 74073 | ||||
| * | When inserting code into a loop preheader, insert it before the | Dan Gohman | 2009-06-24 | 1 | -0/+61 |
| terminator, instead of after the last phi. This fixes a bug exposed by ScalarEvolution analyzing more kinds of loops. This fixes PR4436. llvm-svn: 74072 | |||||

