ScalarVT isn't guaranteed to be smaller than the BCSrc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D136849
[DAGCombiner] Use `getAnyExtOrTrunc` instead of TRUNCATE in ExtractVectorElt combine ClosedPublic Authored by Pierre-vh on Oct 27 2022, 7:56 AM.
Details Summary ScalarVT isn't guaranteed to be smaller than the BCSrc.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 27 2022, 7:59 AM Closed by commit rG088a81682444: [DAGCombiner] Use `getAnyExtOrTrunc` instead of TRUNCATE in ExtractVectorElt… (authored by Pierre-vh). · Explain WhyOct 27 2022, 11:33 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 471405 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/AMDGPU/dagcombine-v1i8-extractvecelt-crash.ll
|