Spotted some cases in D134354 where this was an issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | ||
---|---|---|
3931–3933 | Sure, I don’t remember why it’s there either. |
Paths
| Differential D135147
[GISel] Handle G_TRUNC in `matchExtractVecEltBuildVec` ClosedPublic Authored by Pierre-vh on Oct 4 2022, 4:56 AM.
Details
Diff Detail
Event TimelinePierre-vh added a child revision: D134354: [AMDGPU][GlobalISel] Support mad/fma_mix selection.Oct 4 2022, 4:58 AM
This revision is now accepted and ready to land.Oct 6 2022, 8:31 AM Closed by commit rGa34977c4d010: [GISel] Handle G_TRUNC in `matchExtractVecEltBuildVec` (authored by Pierre-vh). · Explain WhyOct 7 2022, 1:37 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 465666 llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir
|
I don't see why this legality check (or the one below for build_vector_trunc) are here. The equivalent DAG combine does not check for the legality, and you're not creating a new one in the apply