Commit 9ec2b9f
Automerge: [X86][Inline] Check correct function for target feature check (#152515)
The check for ABI differences for inlined calls involves the caller, the
callee and the nested callee. Before inlining, the ABI is determined by
the target features of the callee. After inlining it is determined by
the caller. The features of the nested callee should never actually
matter.File tree
2 files changed
+36
-20
lines changed- llvm
- lib/Target/X86
- test/Transforms/Inline/X86
2 files changed
+36
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6526 | 6526 | | |
6527 | 6527 | | |
6528 | 6528 | | |
6529 | | - | |
6530 | | - | |
| 6529 | + | |
| 6530 | + | |
6531 | 6531 | | |
6532 | 6532 | | |
6533 | 6533 | | |
| |||
6543 | 6543 | | |
6544 | 6544 | | |
6545 | 6545 | | |
6546 | | - | |
6547 | | - | |
6548 | | - | |
6549 | | - | |
6550 | | - | |
6551 | | - | |
6552 | | - | |
6553 | | - | |
6554 | | - | |
6555 | | - | |
6556 | | - | |
| 6546 | + | |
| 6547 | + | |
6557 | 6548 | | |
6558 | | - | |
6559 | 6549 | | |
6560 | 6550 | | |
6561 | 6551 | | |
| |||
Lines changed: 32 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
58 | 80 | | |
59 | 81 | | |
60 | 82 | | |
61 | 83 | | |
62 | 84 | | |
63 | 85 | | |
64 | 86 | | |
65 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
66 | 90 | | |
67 | 91 | | |
68 | 92 | | |
69 | 93 | | |
70 | 94 | | |
71 | 95 | | |
| 96 | + | |
| 97 | + | |
72 | 98 | | |
73 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
74 | 102 | | |
75 | 103 | | |
76 | 104 | | |
77 | | - | |
78 | | - | |
79 | 105 | | |
80 | 106 | | |
81 | 107 | | |
| |||
0 commit comments