about summary refs log tree commit diff
path: root/src/test/mir-opt/const_allocation
AgeCommit message (Collapse)AuthorLines
2020-07-29Move mir-opt tests to toplevelXavier Denis-146/+0
2020-07-29add crate name to mir dumpsXavier Denis-0/+0
2020-05-12Pointer printing: do not print 0 offsetRalf Jung-22/+22
2020-04-30Rollup merge of #71590 - RalfJung:mir-dump-pointers, r=oli-obkTyler Mandry-16/+16
MIR dump: print pointers consistently with Miri output This makes MIR allocation dump pointer printing consistent with Miri output: both use hexadecimal offsets with a `0x` prefix. To save some space, MIR dump replaces the `alloc` prefix by `a` when necessary. I also made AllocId/Pointer printing more consistent in their Debug/Display handling, and adjusted Display printing for Scalar a bit to avoid using decimal printing when we do not know the sign with which to interpret the value (IMO using decimal then is misleading).
2020-04-27Emit basic block ids for statements and terminators in MIR only in -Zverbose ↵Oliver Scherer-16/+16
mode
2020-04-26print pointers more compactly when they are too bigRalf Jung-7/+7
2020-04-26sync alloc dump and pointer printingRalf Jung-16/+16
2020-04-23Add leading 0x to offset in Debug fmt of PointerDavid Cook-6/+6
2020-04-14update 32 bit mir-opt testsBastian Kauschke-1/+7
2020-04-13bless mir opt testsBastian Kauschke-1/+7
2020-03-26Enable `--bless`ing of MIR dumpsOliver Scherer-0/+134