The data type is assumed to be a vector, but sometimes it may not be, leading to an assertion.
Add simple test-case to verify this.
Paths
| Differential D42599
[AArch64] Fix BITCAST lowering crash ClosedPublic Authored by evandro on Jan 26 2018, 1:54 PM.
Details Summary The data type is assumed to be a vector, but sometimes it may not be, leading to an assertion. Add simple test-case to verify this.
Diff Detail Event TimelineHerald added subscribers: llvm-commits, hiraditya, kristof.beyls and 3 others. Β· View Herald TranscriptJan 26 2018, 1:54 PM Comment Actions Sorry, I missed a lot of reviews this year (mail issues). The patch LGTM with the nit.
This revision is now accepted and ready to land.Feb 12 2018, 3:02 AM
Closed by commit rL325378: [AArch64] Fix BITCAST lowering crash (authored by evandro). Β· Explain WhyFeb 16 2018, 12:04 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 131651 llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/strqu.ll
|
Nit: I'd add a check to this early-exit here.