This was implemented as a combine instead in D112064. Remove some tests
that specifically checked for this being done as part of instruction
selection.
Details
Details
- Reviewers
arsenm
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D114158
[AMDGPU] Remove redundant optimization in selectG_BUILD_VECTOR_TRUNC AcceptedPublic Authored by foad on Nov 18 2021, 6:00 AM.
Details
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 6 others. · View Herald TranscriptNov 18 2021, 6:00 AM foad added a parent revision: D112064: [GlobalISel] Combine (build_vector_trunc x, undef) -> (bitcast x).Nov 18 2021, 6:00 AM This revision is now accepted and ready to land.Nov 18 2021, 6:23 PM Comment Actions
This depends on D112064 which is unresolved.
Revision Contents
Diff 388173 llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector-trunc.v2s16.mir
|