Bastian Kauschke
a909eb6b65
improve naming
2020-07-15 13:06:47 +02:00
Bastian Kauschke
4ef1029f5c
mir opt diff
2020-07-15 12:58:32 +02:00
Oliver Scherer
819cde5dab
Show the values and computation that would overflow a const evaluation or propagation
2020-06-26 10:08:52 +02:00
Felix S. Klock II
34c0f0599d
Revert "Bless mir-opt tests"
...
This reverts commit a030c92341 .
2020-06-04 11:29:10 -04:00
Jonas Schievink
309661e84f
InstCombine: Don't optimize &mut *x into x
2020-05-31 16:22:23 +02:00
Jonas Schievink
4ca626258a
Avoid Operand::Copy with &mut T
2020-05-25 21:44:36 +02:00
Jonas Schievink
2359299537
Clear MIR local type annotations after borrowck
2020-05-24 04:15:23 +02:00
Dylan MacKenzie
966df3e926
Bless MIR tests that inline functions qualifying for NRVO
2020-05-16 17:15:24 -07:00
Matthew Jasper
a030c92341
Bless mir-opt tests
2020-05-09 10:51:39 +01:00
Hanif Bin Ariffin
b2a8b39cd0
Renamed "undef" stuff to "uninit"
...
1. InvalidUndefBytes -> InvalidUninitBytes
2. ScalarMaybeUndef -> ScalarMaybeUninit
3. UndefMask -> InitMask
Related issue #71193
2020-05-07 11:27:29 -04:00
Oliver Scherer
a2fdc94686
Emit basic block ids for statements and terminators in MIR only in -Zverbose mode
2020-04-27 15:16:12 +02:00
Bastian Kauschke
cf61a56289
check that AsRef and AsMut are inlined
2020-04-26 12:47:15 +02:00
Eduard-Mihai Burtescu
eccb28e3d6
ty/print: pretty-print constant aggregates (arrays, tuples and ADTs).
2020-04-17 05:18:32 +03:00
Bastian Kauschke
647f810d7b
update 32 bit mir-opt tests
2020-04-14 09:14:58 +02:00
Bastian Kauschke
4714e202ae
bless mir opt tests
2020-04-13 22:39:10 +02:00
Eduard-Mihai Burtescu
e0084922aa
tests: don't use only-64bit in mir-opt tests.
2020-04-11 13:39:23 +03:00
Ana-Maria Mihalache
688a4ddd20
--bless more mir-opt tests.
2020-04-07 17:49:14 +00:00
Bastian Kauschke
f8e3da5ea2
run test only on 64bit
2020-03-25 16:07:36 +01:00
Bastian Kauschke
11763d48cf
update mir opt test
2020-03-24 16:56:12 +01:00
Yuki Okushi
3ba15bda53
Set mir-opt-level to 3 to prevent regressions
2020-01-15 23:41:37 +09:00
Santiago Pastorino
1688719214
Promote Refs to constants instead of static
2020-01-10 09:08:24 +01:00
Wesley Wiser
25a8b5d58e
Fix Instance::resolve() incorrectly returning specialized instances
...
We only want to return specializations when `Reveal::All` is passed, not
when `Reveal::UserFacing` is. Resolving this fixes several issues with
the `ConstProp`, `SimplifyBranches`, and `Inline` MIR optimization
passes.
Fixes #66901
2019-12-27 13:04:32 -05:00
Wesley Wiser
f1325a78e6
Move the rest of the mir-opt inline tests into a folder
2019-12-20 20:39:47 -05:00
Wesley Wiser
bec4fc175a
[mir-opt] Fix Inline pass to handle inlining into box expressions
2019-12-20 20:39:47 -05:00