llvm-project/llvm/test/CodeGen/Mips/GlobalISel/legalizer
Amara Emerson c22cb5bd31 [GlobalISel] Enable artifact combiner to combine starting from a G_MERGE_VALUES.
We generally only combine starting from users to defs in the artifact combiner,
but this doesn't catch cases where at the point of combining a G_UNMERGE we don't
yet have the opposite G_MERGE on input yet since we haven't legalized that far.

This change adds the users of a G_MERGE to the artifact combiner worklist if one
of the uses is a G_UNMERGE or G_TRUNC.

Differential Revision: https://reviews.llvm.org/D77931
2020-04-15 10:34:13 -07:00
..
add.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
add_vec.mir [MIPS GlobalISel] Select MSA vector generic and builtin add 2019-10-22 13:51:57 +00:00
add_vec_builtin.mir [MIParser] Set RegClassOrRegBank during instruction parsing 2019-10-22 14:25:37 +00:00
bitreverse.mir [MIPS GlobalISel] Select bitreverse. Recommit 2019-12-30 18:06:29 +01:00
bitwise.mir [GlobalISel] combine G_TRUNC with G_MERGE_VALUES 2020-03-16 14:42:01 +01:00
branch.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
brindirect.mir [MIPS GlobalISel] Select indirect branch 2019-09-12 11:44:36 +00:00
bswap.mir [MIPS GlobalISel] Select bswap 2019-12-30 11:13:22 +01:00
ceil_and_floor.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
constants.mir [GlobalISel]: Allow targets to override how to widen constants during legalization 2019-12-03 10:41:10 -08:00
ctlz.mir [GlobalISel] Enable artifact combiner to combine starting from a G_MERGE_VALUES. 2020-04-15 10:34:13 -07:00
ctpop.mir [GlobalISel] Enable artifact combiner to combine starting from a G_MERGE_VALUES. 2020-04-15 10:34:13 -07:00
cttz.mir [GlobalISel] Enable artifact combiner to combine starting from a G_MERGE_VALUES. 2020-04-15 10:34:13 -07:00
dyn_stackalloc.mir [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
fabs.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
fabs_vec.mir [MIPS GlobalISel] Select MSA vector generic and builtin fabs 2019-10-24 13:45:26 +02:00
fabs_vec_builtin.mir [MIPS GlobalISel] Select MSA vector generic and builtin fabs 2019-10-24 13:45:26 +02:00
fcmp.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
fence.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
float_arithmetic_operations.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
float_constants.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
floating_point_vec_arithmetic_operations.mir [MIPS GlobalISel] MSA vector generic and builtin fadd, fsub, fmul, fdiv 2019-10-24 10:15:07 +02:00
floating_point_vec_arithmetic_operations_builtin.mir [MIPS GlobalISel] MSA vector generic and builtin fadd, fsub, fmul, fdiv 2019-10-24 10:15:07 +02:00
fpext_and_fptrunc.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
fptosi_and_fptoui.mir GlobalISel: Correct result type for G_FCMP in lowerFPTOUI 2020-01-06 17:21:51 -05:00
fsqrt.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
fsqrt_vec.mir [MIPS GlobalISel] Select MSA vector generic and builtin fsqrt 2019-10-25 14:45:14 +02:00
fsqrt_vec_builtin.mir [MIPS GlobalISel] Select MSA vector generic and builtin fsqrt 2019-10-25 14:45:14 +02:00
global_address.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
icmp.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
implicit_def.mir [MIPS GlobalISel] Select G_IMPLICIT_DEF 2019-09-12 11:32:38 +00:00
inttoptr_and_ptrtoint.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
jump_table_and_brjt.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
load.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
load_4_unaligned.mir [MIPS GlobalISel] Select 4 byte unaligned load and store 2020-02-19 11:57:06 +01:00
load_split_because_of_memsize_or_align [MIPS GlobalISel] Legalize non-power-of-2 and unaligned load and store 2020-02-19 12:02:27 +01:00
load_store_vec.mir [MIPS GlobalISel] Add MSA registers to fprb. Select vector load, store 2019-10-15 09:30:08 +00:00
mul.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
mul_vec.mir [MIPS GlobalISel] Select MSA vector generic and builtin mul 2019-10-23 11:22:07 +02:00
mul_vec_builtin.mir [MIPS GlobalISel] Select MSA vector generic and builtin mul 2019-10-23 11:22:07 +02:00
phi.mir [MIPS GlobalISel] RegBankSelect G_MERGE_VALUES and G_UNMERGE_VALUES 2020-02-19 10:09:52 +01:00
pointers.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
rem_and_div.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
rem_and_div_vec.mir [MIPS GlobalISel] MSA vector generic and builtin sdiv, srem, udiv, urem 2019-10-24 10:03:36 +02:00
rem_and_div_vec_builtin.mir [MIPS GlobalISel] MSA vector generic and builtin sdiv, srem, udiv, urem 2019-10-24 10:03:36 +02:00
select.mir [MIPS GlobalISel] RegBankSelect G_MERGE_VALUES and G_UNMERGE_VALUES 2020-02-19 10:09:52 +01:00
sitofp_and_uitofp.mir [MIPS GlobalISel] RegBankSelect G_MERGE_VALUES and G_UNMERGE_VALUES 2020-02-19 10:09:52 +01:00
stack_args.mir [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
store.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
store_4_unaligned.mir [MIPS GlobalISel] Select 4 byte unaligned load and store 2020-02-19 11:57:06 +01:00
store_split_because_of_memsize_or_align.mir [MIPS GlobalISel] Legalize non-power-of-2 and unaligned load and store 2020-02-19 12:02:27 +01:00
sub.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
sub_vec.mir [MIPS GlobalISel] Select MSA vector generic and builtin sub 2019-10-23 11:15:25 +02:00
sub_vec_builtin.mir [MIPS GlobalISel] Select MSA vector generic and builtin sub 2019-10-23 11:15:25 +02:00
trap.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
trunc.mir [GlobalISel] combine G_TRUNC with G_MERGE_VALUES 2020-03-16 14:42:01 +01:00
truncStore_and_aExtLoad.mir [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
var_arg.mir [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
zextLoad_and_sextLoad.mir [GlobalISel] Enable artifact combiner to combine starting from a G_MERGE_VALUES. 2020-04-15 10:34:13 -07:00
zext_and_sext.mir [GlobalISel] Enable artifact combiner to combine starting from a G_MERGE_VALUES. 2020-04-15 10:34:13 -07:00