llvm-project/llvm/test/CodeGen/Mips/GlobalISel
Aditya Nandakumar 6da7dbb806 [GlobalISel]: Allow targets to override how to widen constants during legalization
https://reviews.llvm.org/D70922

This adds a hook to allow targets to define exactly what extension
operation should be performed for widening constants. This handles cases
like widening i1 true which would end up becoming -1 which affects code
quality during combines.
Additionally, in order to stay consistent with how DAG is promoting
constants, we now signextend for byte sized types and zero extend
otherwise (by default). Targets can of course override this if
necessary.
2019-12-03 10:41:10 -08:00
..
instruction-select [MIPS GlobalISel] Select andi, ori and xori 2019-11-15 11:41:25 +01:00
irtranslator [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00
legalizer [GlobalISel]: Allow targets to override how to widen constants during legalization 2019-12-03 10:41:10 -08:00
llvm-ir [GlobalISel]: Allow targets to override how to widen constants during legalization 2019-12-03 10:41:10 -08:00
mips-prelegalizer-combiner [Alignment] Use llvm::Align in MachineFunction and TargetLowering - fixes mir parsing 2019-09-11 11:16:48 +00:00
regbankselect [globalisel] Rename G_GEP to G_PTR_ADD 2019-11-05 10:31:17 -08:00