1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen
Simonas Kazlauskas c1d491f5a6 Support {S,U}REMEqFold before legalization
This allows these optimisations to apply to e.g. `urem i16` directly
before `urem` is promoted to i32 on architectures where i16 operations
are not intrinsically legal (such as on Aarch64). The legalization then
later can happen more directly and generated code gets a chance to avoid
wasting time on computing results in types wider than necessary, in the end.

Seems like mostly an improvement in terms of results at least as far as x86_64 and aarch64 are concerned, with a few regressions here and there. It also helps in preventing regressions in changes like {D87976}.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D88785
2021-04-01 01:35:41 +03:00
..
AArch64 Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
AMDGPU Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
ARC
ARM Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
AVR
BPF
Generic Re-apply "[lli] Make -jit-kind=orc the default JIT engine" 2021-03-30 12:08:26 +02:00
Hexagon
Inputs
Lanai
M68k
Mips Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
MIR
MSP430
NVPTX
PowerPC Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
RISCV Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
SPARC
SystemZ
Thumb Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
Thumb2 Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
VE
WebAssembly [WebAssembly] Implement i64x2 comparisons 2021-03-31 10:46:17 -07:00
WinCFGuard
WinEH
X86 Support {S,U}REMEqFold before legalization 2021-04-01 01:35:41 +03:00
XCore