Commit 6c02f23
Automerge: [KeyInstr] Fully support mixed key/non-key inlining modes (#144103)
Patch 3/4 adding bitcode support, though the final patch doesn't depend on this
one.
Prior to this patch, a Key Instructions function inlined into a
Not-Key-Instructions function fell back to Not-Key-Instructions handling.
In order to fully support inlining mixed modes we need to run
`computeKeyInstructions` (in case there's a Key Instructions scope) and
`findForceIsStmtInstrs` (in case there's a Not-Key-Instructions scope) on all
functions. This has a slight performance cost for all configurations - see PR
for details.File tree
2 files changed
+10
-22
lines changed- llvm
- lib/CodeGen/AsmPrinter
- test/DebugInfo/KeyInstructions/X86
2 files changed
+10
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2082 | 2082 | | |
2083 | 2083 | | |
2084 | 2084 | | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | | - | |
| 2085 | + | |
| 2086 | + | |
2089 | 2087 | | |
2090 | | - | |
| 2088 | + | |
| 2089 | + | |
2091 | 2090 | | |
2092 | 2091 | | |
2093 | 2092 | | |
| |||
2663 | 2662 | | |
2664 | 2663 | | |
2665 | 2664 | | |
2666 | | - | |
2667 | | - | |
2668 | | - | |
2669 | | - | |
2670 | | - | |
2671 | | - | |
2672 | | - | |
2673 | | - | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
2674 | 2669 | | |
2675 | | - | |
2676 | | - | |
| 2670 | + | |
2677 | 2671 | | |
2678 | 2672 | | |
2679 | 2673 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 82 | | |
86 | 83 | | |
87 | 84 | | |
88 | | - | |
| 85 | + | |
89 | 86 | | |
90 | 87 | | |
91 | 88 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 89 | | |
96 | 90 | | |
97 | 91 | | |
| |||
0 commit comments