Commit 9a913a3
authored
InlineCostAnnotationPrinter: Fix constructing random TargetTransformInfo (llvm#133637)
Query the correct TTI for the current target instead of constructing
some random default one. Also query the pass manager for
ProfileSummaryInfo.
This should only change the printing, not the actual result.1 parent 4dbcefe commit 9a913a3
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3295 | 3295 | | |
3296 | 3296 | | |
3297 | 3297 | | |
3298 | | - | |
3299 | | - | |
3300 | | - | |
| 3298 | + | |
| 3299 | + | |
| 3300 | + | |
| 3301 | + | |
| 3302 | + | |
| 3303 | + | |
3301 | 3304 | | |
3302 | 3305 | | |
3303 | 3306 | | |
| |||
3312 | 3315 | | |
3313 | 3316 | | |
3314 | 3317 | | |
3315 | | - | |
| 3318 | + | |
3316 | 3319 | | |
3317 | 3320 | | |
3318 | 3321 | | |
| |||
0 commit comments