[all-commits] [llvm/llvm-project] fee415: AMDGPU/GlobalISel: Introduce post-legalize combiner
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Feb 24 19:12:24 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fee41517fe0f7ff9f0e204dd9200ebf32ca03cb8
https://github.com/llvm/llvm-project/commit/fee41517fe0f7ff9f0e204dd9200ebf32ca03cb8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-02-24 (Mon, 24 Feb 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.h
M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
A llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/CMakeLists.txt
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-ashr-narrow.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-lshr-narrow.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/combine-shl-narrow.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/fmax_legacy.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fmin_legacy.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.kernarg.segment.ptr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll
Log Message:
-----------
AMDGPU/GlobalISel: Introduce post-legalize combiner
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.
More information about the All-commits
mailing list