Commit 1458d31
authored
[SLU][profcheck] Propagate profile for branches on injected conditions. (llvm#164476)
This patch addresses the profile of 2 branches:
- one that compares the 2 limits, for which we have no information (the C1, C2, see https://reviews.llvm.org/D136233)
- one that is conditioned on a condition for which we have a profile, so we reuse it
Issue llvm#1473901 parent 3974157 commit 1458d31
File tree
2 files changed
+79
-72
lines changed- llvm
- lib/Transforms/Scalar
- test/Transforms/SimpleLoopUnswitch
2 files changed
+79
-72
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3203 | 3203 | | |
3204 | 3204 | | |
3205 | 3205 | | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
3206 | 3209 | | |
3207 | 3210 | | |
3208 | | - | |
3209 | | - | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
3210 | 3215 | | |
3211 | 3216 | | |
3212 | 3217 | | |
| |||
0 commit comments