Add various combines for G_ANYEXT, G_SEXT and G_ZEXT.
Diff Detail
Diff Detail
Paths
| Differential D86516
GlobalISel: Add combines for extend operations ClosedPublic Authored by volkan on Aug 25 2020, 3:22 AM.
Details
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 1 2020, 6:07 AM
Revision Contents
Diff 288991 llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cppllvm/test/CodeGen/AArch64/GlobalISel/combine-ext.mir
llvm/test/CodeGen/AArch64/GlobalISel/prelegalizercombiner-extending-loads-s1.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-amdgpu-cvt-f32-ubyte.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-from-extend-narrow.prelegal.mir
|
setInstrAndDebugLoc?
Why build a copy instead of CombinerHelper::replaceRegWith?