about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_intrinsics.non_const.LowerIntrinsics.diff
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-31/+0
2022-09-01Simplify MIR opt testsJakob Degen-1/+1
This commit removes many cases of MIR opt tests emitting `.diff`s for more than one pass. These tests cannot be `unit-test`s, and so they are easy to break, and they also provide little value due to having excessively strong opinions over *how* a piece of code should be optimized. Where reasonable, we instead add separate test files that only emit the `PreCodegen.after` MIR for code where we want to track what the result of the net result of the optimization pipeline's output is.
2022-08-02Avoid invalidating the CFG in MirPatch.Jakob Degen-4/+0
As a part of this change, we adjust MirPatch to not needlessly create unnecessary resume blocks.
2022-07-28bless mir opt testsNilstrieb-15/+15
2022-07-09tweak names and output and blessRalf Jung-1/+1
2021-09-13Add mir opt test for min_align_of -> AlignOf loweringGary Guo-16/+16
2020-12-15Always run intrinsics lowering passTomasz Miąsko-0/+4
Move intrinsics lowering pass from the optimization phase (where it would not run if -Zmir-opt-level=0), to the drop lowering phase where it runs unconditionally. The implementation of those intrinsics in code generation and interpreter is unnecessary. Remove it.
2020-11-16Don't special case constant operands when lowering intrinsicsTomasz Miąsko-0/+31