llvm-project/llvm/test/tools/llvm-reduce/mir
Eli Friedman cfd2c5ce58 Untangle the mess which is MachineBasicBlock::hasAddressTaken().
There are two different senses in which a block can be "address-taken".
There can be a BlockAddress involved, which means we need to map the
IR-level value to some specific block of machine code.  Or there can be
constructs inside a function which involve using the address of a basic
block to implement certain kinds of control flow.

Mixing these together causes a problem: if target-specific passes are
marking random blocks "address-taken", if we have a BlockAddress, we
can't actually tell which MachineBasicBlock corresponds to the
BlockAddress.

So split this into two separate bits: one for BlockAddress, and one for
the machine-specific bits.

Discovered while trying to sort out related stuff on D102817.

Differential Revision: https://reviews.llvm.org/D124697
2022-08-16 16:15:44 -07:00
..
drop-ir-references.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
generic-vreg.mir llvm-reduce: Add reduction for instruction defs 2022-07-18 13:41:08 -04:00
infer-triple-unknown-target.mir llvm-reduce: Don't check tool name in error message check 2022-04-28 09:10:19 -04:00
infer-triple.mir llvm-reduce: Try to parse triple/datalayout from module 2022-04-27 17:47:46 -04:00
input-file-does-not-exist.mir try to fix check-llvm on windows after e39e9d33 2022-04-28 09:16:15 -04:00
instr-reduce.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
instr-reduce.py Recommit "[llvm-reduce] Add MIR support" 2021-11-02 10:16:42 +01:00
multiple-functions.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
preserve-block-info.mir Untangle the mess which is MachineBasicBlock::hasAddressTaken(). 2022-08-16 16:15:44 -07:00
preserve-frame-info.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
preserve-func-info.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
preserve-machine-function-info-amdgpu.mir [amdgpu] Implement lds kernel id intrinsic 2022-07-19 17:46:19 +01:00
preserve-machine-function-info-riscv.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
preserve-max-call-frame-size.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
preserve-mem-operands.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
preserve-reg-hints.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
reduce-instruction-flags.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
reduce-instruction-unreachable-block.mir in the absense of the -max-pass-iterations command line options, make 2022-06-21 10:47:42 -06:00
reduce-register-defs.mir llvm-reduce: Add reduction for instruction defs 2022-07-18 13:41:08 -04:00
reduce-register-hints.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
reduce-register-masks.mir llvm-reduce: Fix register mask test 2022-07-20 18:19:14 -04:00
reduce-register-uses-generic.mir llvm-reduce: Don't set generic instruction operands to undef 2022-06-07 10:28:23 -04:00
reduce-register-uses.mir llvm-reduce: Add pass to remove register uses 2022-06-07 10:28:23 -04:00
remove-frame-destroy.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00
subreg-def0.mir in the absense of the -max-pass-iterations command line options, make 2022-06-21 10:47:42 -06:00
subreg-def1.mir in the absense of the -max-pass-iterations command line options, make 2022-06-21 10:47:42 -06:00
tracks-reg-liveness.mir llvm-reduce: Don't assert on functions which don't track liveness 2022-06-07 10:00:25 -04:00
undef-virt-reg.mir llvm-reduce: Add -abort-on-invalid-reduction to MIR tests 2022-06-07 10:28:23 -04:00