[PATCH] D134953: [AMDGPU][GISel] Add Identity BUILD_VECTOR Combines
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 30 06:00:57 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUCombine.td:48
+def trunc_buildvector_fold : GICombineRule<
+ (defs root:$op, register_matchinfo:$matchinfo),
----------------
Left behind AMDGPU copy
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp:308-309
+bool AMDGPUPostLegalizerCombinerHelper::matchBuildVectorIdentityFold(
+ MachineInstr &MI, Register &MatchInfo) {
+ // This combine folds the following patterns:
----------------
Left behind the AMDGPU copy
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134953/new/
https://reviews.llvm.org/D134953
More information about the llvm-commits
mailing list