1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib
Craig Topper 9c604c891f [RISCV] Add a pattern for (sext_inreg (mul (and X, 0xffffffff), (and Y, 0xffffffff)), i32) to suppress MULW formation
We have a special pattern for
(mul (and X, 0xffffffff), (and Y, 0xffffffff)), to optimize the
ANDs to shift. But if a sext_inreg coms first, we'll form a MULW
and limit the effectiveness of the special match. So this patch
adds a larger pattern to suppress the MULW formation by emitting
a sext.w and then the same output we use for the
(mul (and X, 0xffffffff), (and Y, 0xffffffff)). This should all
get CSEd.

This is the issue I was trying to fix with D99029, but that affected
many more tests.
2021-03-27 15:37:18 -07:00
..
Analysis [BasicAA] Refactor linear expression decomposition 2021-03-27 23:31:58 +01:00
AsmParser [IR] Add vscale_range IR function attribute 2021-03-22 12:05:06 +00:00
BinaryFormat [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
Bitcode [IR] Add vscale_range IR function attribute 2021-03-22 12:05:06 +00:00
Bitstream
CodeGen [GlobalISel] Add G_ROTR and G_ROTL opcodes for rotates. 2021-03-25 17:23:30 -07:00
DebugInfo [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
Demangle
DWARFLinker
ExecutionEngine [JITLink][MachO] Use full <segment>,<section> names for MachO jitlink::Sections. 2021-03-25 18:31:18 -07:00
Extensions
FileCheck [FileCheck] Fix PR49531: invalid use of string var 2021-03-24 18:49:58 +00:00
Frontend [OpenMP] Change OMPIRBuilder to append function attributes 2021-03-24 09:08:29 -04:00
Fuzzer
FuzzMutate [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
InterfaceStub
IR [DAE] Adjust param/arg attributes when changing parameter to undef 2021-03-25 14:53:22 -07:00
IRReader [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
LineEditor
Linker Support intrinsic overloading on unnamed types 2021-03-19 14:34:25 +01:00
LTO [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
MC AMDGPU: Add target id and code object v4 support 2021-03-24 11:54:05 -04:00
MCA [MCA] Support carry-over instructions for in-order processors 2021-03-26 00:06:19 +03:00
Object [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
ObjectYAML AMDGPU: Add target id and code object v4 support 2021-03-24 11:54:05 -04:00
Option
Passes add print-change diff modes that do not use colour 2021-03-25 10:35:27 -04:00
ProfileData Fix: Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 11:55:57 -04:00
Remarks
Support [Triple][Driver] Add muslx32 environment and use /lib/ld-musl-x32.so.1 for -dynamic-linker 2021-03-25 16:25:47 -07:00
TableGen [Windows] Turn off text mode in TableGen and Rewriter to stop CRLF translation 2021-03-26 07:12:46 -04:00
Target [RISCV] Add a pattern for (sext_inreg (mul (and X, 0xffffffff), (and Y, 0xffffffff)), i32) to suppress MULW formation 2021-03-27 15:37:18 -07:00
Testing
TextAPI
ToolDrivers [NFC] Reordering parameters in getFile and getFileOrSTDIN 2021-03-25 09:47:49 -04:00
Transforms [LV] Fix formatting from 2f9d68c3f12a. 2021-03-27 21:29:56 +00:00
WindowsManifest
XRay
CMakeLists.txt