-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #117141 - tmiasko:inline-target-features, r=oli-obk
Require target features to match exactly during inlining In general it is not correct to inline a callee with a target features that are subset of the callee. Require target features to match exactly during inlining. The exact match could be potentially relaxed, but this would require identifying specific feature that are allowed to differ, those that need to match, and those that can be present in caller but not in callee. This resolves MIR part of #116573. For other concerns with respect to the previous implementation also see areInlineCompatible in LLVM.
- Loading branch information
Showing
12 changed files
with
44 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
tests/mir-opt/inline/inline_compatibility.inlined_no_sanitize.Inline.panic-abort.diff
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
tests/mir-opt/inline/inline_compatibility.inlined_no_sanitize.Inline.panic-unwind.diff
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
tests/mir-opt/inline/inline_compatibility.inlined_target_feature.Inline.panic-abort.diff
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
tests/mir-opt/inline/inline_compatibility.inlined_target_feature.Inline.panic-unwind.diff
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
tests/mir-opt/inline/inline_compatibility.not_inlined_c_variadic.Inline.panic-abort.diff
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
tests/mir-opt/inline/inline_compatibility.not_inlined_c_variadic.Inline.panic-unwind.diff
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
tests/mir-opt/inline/inline_compatibility.not_inlined_no_sanitize.Inline.panic-abort.diff
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
tests/mir-opt/inline/inline_compatibility.not_inlined_no_sanitize.Inline.panic-unwind.diff
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
tests/mir-opt/inline/inline_compatibility.not_inlined_target_feature.Inline.panic-abort.diff
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...s/mir-opt/inline/inline_compatibility.not_inlined_target_feature.Inline.panic-unwind.diff
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters