Before the code would crash with "unhandled opcode in
isAArch64FrameOffsetLegal" when there was a spill from extractelement.
Fixes pr52249.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | ||
---|---|---|
4293 | Should this also handle ST1i64, and the LD1 opcodes? | |
llvm/test/CodeGen/AArch64/aarch64st1.ll | ||
2 ↗ | (On Diff #381518) | This would be better as an MIR test, so it's not dependent on unrelated details of codegen. If I run this test with -stop-before=localstackalloc to generate a MIR file, then run that back through llc with -run-pass=localstackalloc, I get the same same assertion. |
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | ||
---|---|---|
4293 | Right, forgot about i64. | |
llvm/test/CodeGen/AArch64/aarch64st1.ll | ||
2 ↗ | (On Diff #381518) | I feel like MIR tests can be "brittle" in other ways (and CHECKs ensure that the st1 instructions are actually generated), but alright. |
Should this also handle ST1i64, and the LD1 opcodes?