Folds-away BUILD_VECTOR-related noops in the post-legalizer combiner.
Depends on D134433
Paths
| Differential D134953
[AMDGPU][GISel] Add Identity BUILD_VECTOR Combines ClosedPublic Authored by Pierre-vh on Sep 30 2022, 5:27 AM.
Details
Summary Folds-away BUILD_VECTOR-related noops in the post-legalizer combiner. Depends on D134433
Diff Detail
Event TimelinePierre-vh added a child revision: D134870: [AMDGPU][GISel] Combine V2S16 G_EXTRACT/INSERT_VECTOR_ELT.Sep 30 2022, 5:30 AM
Pierre-vh marked an inline comment as done. Comment ActionsComment
This revision is now accepted and ready to land.Sep 30 2022, 6:53 AM This revision was landed with ongoing or failed builds.Sep 30 2022, 7:07 AM Closed by commit rG653beae5a168: [AMDGPU][GISel] Add Identity BUILD_VECTOR Combines (authored by Pierre-vh). · Explain Why This revision was automatically updated to reflect the committed changes. Pierre-vh added a child revision: D134857: [GISel] Add more cases to isKnownNeverNaN.Sep 30 2022, 7:10 AM
Revision Contents
Diff 464265 llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.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
|
Should remove this and remove the unused prefixes