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
Ralf Jung
7d99e80c55
MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way
2024-03-10 14:59:41 +01:00
Ralf Jung
b58f647d54
rename ptr::invalid -> ptr::without_provenance
...
also introduce ptr::dangling matching NonNull::dangling
2024-02-21 20:15:52 +01:00
Camille GILLOT
1f544ca0cc
Fold consecutive PtrToPtr casts.
2024-02-09 21:01:56 +00:00
Ben Kimock
611c3cb561
Bless/fix tests
2024-02-08 19:56:30 -05:00
Camille GILLOT
0aedd6e86f
Sandwich MIR optimizations between DSE.
2024-01-11 09:58:19 +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
Camille GILLOT
b542c5526f
Bless mir-opt tests.
2023-08-17 17:07:53 +00:00
Scott McMurray
34732e8560
Get !nonnull metadata consistently in slice iterators, without needing assumes
2023-07-20 11:33:49 -07:00
Camille GILLOT
b74a144a5f
Enable by default.
2023-07-10 16:01:18 +00:00
Nilstrieb
2beabbbf6f
Rename adjustment::PointerCast and variants using it to PointerCoercion
...
It makes it sound like the `ExprKind` and `Rvalue` are supposed to represent all pointer related
casts, when in reality their just used to share a some enum variants. Make it clear there these
are only coercion to make it clear why only some pointer related "casts" are in the enum.
2023-07-07 18:17:16 +02: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