Scott McMurray
91af4aa2e2
Allow more top-down inlining for single-BB callees
...
This means that things like `<usize as Step>::forward_unchecked` and `<PartialOrd for f32>::le` will inline even if we've already done a bunch of inlining to find the calls to them.
2025-03-12 22:39:43 -07:00
Michael Goulet
057313b7a6
Reapply "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung"
...
This reverts commit 122a55bb44 .
2025-01-27 23:42:47 +00:00
Rémy Rakic
122a55bb44
Revert "Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=davidtwco,RalfJung"
...
This reverts commit b57d93d8b9 , reversing
changes made to 0aeaa5eb22 .
2025-01-18 22:09:35 +00:00
Scott McMurray
612adbb6bf
Bounds-check with PtrMetadata instead of Len in MIR
2024-12-03 11:05:45 -08:00
Scott McMurray
99cb0c6bc3
Bless *all* the mir-opt tests
2024-08-18 16:07:33 -07:00
Scott McMurray
b611b6bbb8
Replace NormalizeArrayLen with GVN
...
GVN is actually on in release, and covers all the same things (or more), with `LowerSliceLen` changed to produce `PtrMetadata`.
2024-06-20 22:16:59 -07:00
Camille GILLOT
e110567dcd
Revert "Auto merge of #115105 - cjgillot:dest-prop-default, r=oli-obk"
...
This reverts commit cfb730450f , reversing
changes made to 91c0823ee6 .
2024-05-31 00:22:40 +00:00
Camille GILLOT
5fa0ec6ad1
Enable DestinationPropagation by default.
2024-05-29 23:54:57 +00:00
Scott McMurray
d05545c05d
At debuginfo=0, don't inline debuginfo when inlining
2024-04-18 09:35:35 -07:00
Matthew Jasper
a277c901d9
Remove MIR unsafe check
...
This also remove safety information from MIR.
2024-04-03 08:50:12 +00:00
Camille GILLOT
e132cac3c4
Enable by default.
2024-02-09 21:13:51 +00:00
Camille GILLOT
0aedd6e86f
Sandwich MIR optimizations between DSE.
2024-01-11 09:58:19 +00:00
Camille GILLOT
a03c972816
Enable GVN by default.
2023-12-24 20:08:57 +00:00
Caleb Zulawski
4d9607869a
Update std::simd usage and test outputs
2023-11-26 09:02:25 -05:00
Camille GILLOT
27d6a57e58
Preserve DebugInfo in DeadStoreElimination.
2023-10-06 15:46:11 +00:00
Ding Xiang Fei
67553e8a11
update tests that are ignored by debug
2023-09-01 04:01:54 +08:00
Ralf Jung
6f8ae03f9b
make MIR less verbose
2023-08-24 14:26:26 +02:00
Ralf Jung
290ce46252
bless more mir-opt tests by hand
2023-08-24 13:31:43 +02:00
Camille GILLOT
b542c5526f
Bless mir-opt tests.
2023-08-17 17:07:53 +00:00
Camille GILLOT
a5031d569e
Call super for debuginfo.
2023-07-10 16:01:19 +00:00
Camille GILLOT
b74a144a5f
Enable by default.
2023-07-10 16:01:18 +00:00
Gary Guo
19ce326a08
Bless tests
2023-06-23 18:36:25 +01:00
Ben Kimock
0a1fa411ed
Remove comments from mir-opt MIR dumps
2023-06-15 15:19:11 -04:00
Pietro Albini
4668123945
bless mir-opt
...
To reproduce the changes in this commit locally:
- Run `./x test tidy` and remove all the output files not associated
with a test file anymore, as reported by tidy.
- Run `./x test tests/mir-opt --bless` to generate the new outputs.
2023-06-12 09:34:17 +02:00