[PATCH] D74728: AMDGPU/GlobalISel: Introduce post-legalize combiner
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 17 10:12:23 PST 2020
arsenm created this revision.
arsenm added reviewers: nhaehnle, kerbowa, foad, cdevadas, hsmhsm.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, mgorny, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
The current set of custom combines are only really useful after
legalization, so move them there. There is a lot of overlap in the
boilerplate here, but I think we do want a pretty different set of
combines before and after legalize. I think we will want a lot of
overlap between the post-legalize and a post-regbankselect combiner.
https://reviews.llvm.org/D74728
Files:
llvm/lib/Target/AMDGPU/AMDGPU.h
llvm/lib/Target/AMDGPU/AMDGPUCombine.td
llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/AMDGPU/CMakeLists.txt
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-ashr-narrow.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-lshr-narrow.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-narrow.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/fmax_legacy.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/fmin_legacy.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.kernarg.segment.ptr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74728.245001.patch
Type: text/x-patch
Size: 23178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/83684b1b/attachment.bin>
More information about the llvm-commits
mailing list