This fixes and assertion and miscompile due to falling through to the code that tries to use EXTRACT_SUBVECTOR, even when we bailed out due to having a non-constant extract operand.
rdar://106096671
Paths
| Differential D145185
[AArch64] Fix crash in LowerBUILD_VECTOR trying to create invalid EXTRACT_SUBVECTOR. ClosedPublic Authored by aemerson on Mar 2 2023, 1:55 PM.
Details Summary This fixes and assertion and miscompile due to falling through to the code that tries to use EXTRACT_SUBVECTOR, even when we bailed out due to having a non-constant extract operand. rdar://106096671
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Mar 2 2023, 2:02 PM This revision was landed with ongoing or failed builds.Mar 2 2023, 2:10 PM Closed by commit rG1e1f1195a8bf: [AArch64] Fix crash in LowerBUILD_VECTOR trying to create invalid… (authored by aemerson). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 501970 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/build-vector-to-extract-subvec-crash.ll
|