about summary refs log tree commit diff
path: root/src/test/mir-opt/const_allocation2
AgeCommit message (Collapse)AuthorLines
2020-07-29Move mir-opt tests to toplevelXavier Denis-143/+0
2020-07-29add crate name to mir dumpsXavier Denis-0/+0
2020-05-12Pointer printing: do not print 0 offsetRalf Jung-18/+18
2020-04-30Rollup merge of #71590 - RalfJung:mir-dump-pointers, r=oli-obkTyler Mandry-13/+13
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-6/+6
2020-04-26sync alloc dump and pointer printingRalf Jung-13/+13
2020-04-24Auto merge of #70820 - spastorino:replace-fragile-erroneous-const-sys, r=oli-obkbors-31/+31
Replace fragile erroneous const sys Closes #67191 r? @oli-obk
2020-04-24Rollup merge of #71459 - divergentdave:pointer-offset-0x, r=RalfJungDylan DPC-6/+6
Add leading 0x to offset in Debug fmt of Pointer Currently the `Debug` format for `Pointer` prints its offset in hexadecimal, for example, `alloc38657819+e2` or `alloc35122748+64`. This PR adds a leading `0x` to the offset, in order to make it apparent that it is indeed a hexadecimal number. This came up during discussion of rust-lang/miri#1354. r? @RalfJung
2020-04-23Bless mir-opt testsSantiago Pastorino-31/+31
2020-04-23Add leading 0x to offset in Debug fmt of PointerDavid Cook-6/+6
2020-04-20Bless 32-bit test outputJonas Schievink-15/+15
2020-04-20Fix codegen and mir-opt testsJonas Schievink-16/+16
Mostly renamed allocations, but I'm not sure about the const prop tests
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/+131