[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 06:18:30 PDT 2022


Pierre-vh added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUCombine.td:48
 
+def trunc_buildvector_fold : GICombineRule<
+  (defs root:$op, register_matchinfo:$matchinfo),
----------------
arsenm wrote:
> Left behind AMDGPU copy
That's another combine for `(G_TRUNC (G_BITCAST (G_BUILD_VECTOR x, y)`, unless that one can also go in the generic combiner?


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