| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | PGO: preserve branch-weight metadata when merging two switches where | Manman Ren | 2012-09-14 | 1 | -0/+48 |
| | | | | | | | | the default target of the first switch is not the basic block the second switch is in (PredDefault != BB). llvm-svn: 163916 | ||||
| * | SimplifyCFG: preserve branch-weight metadata when creating a new switch from | Manman Ren | 2012-09-11 | 1 | -0/+92 |
| a pair of switch/branch where both depend on the value of the same variable and the default case of the first switch/branch goes to the second switch/branch. Code clean up and fixed a few issues: 1> handling the case where some cases of the 2nd switch are invalidated 2> correctly calculate the weight for the 2nd switch when it is a conditional eq Testing case is modified from Alastair's original patch. llvm-svn: 163635 | |||||

