[PATCH] D134953: [AMDGPU][GISel] Add Identity BUILD_VECTOR Combines

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 05:27:16 PDT 2022


Pierre-vh created this revision.
Pierre-vh added a reviewer: arsenm.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: All.
Pierre-vh requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Folds-away BUILD_VECTOR-related noops in the post-legalizer combiner.

Depends on D134433 <https://reviews.llvm.org/D134433>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134953

Files:
  llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
  llvm/lib/Target/AMDGPU/AMDGPUCombine.td
  llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.1d.d16.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizer-combiner-buildvector-identities.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizer-combiner-trunc-bitcast-buildvector.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134953.464226.patch
Type: text/x-patch
Size: 28423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220930/b5c74054/attachment.bin>


More information about the llvm-commits mailing list