Commit r323512 introduced an optimisation in LowerReturn for half-precision
return values. A missing check caused a crash when the return value is "undef"
(i.e. a node that has no operands)
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/CodeGen/ARM/fp16-instructions.ll | ||
---|---|---|
17 ↗ | (On Diff #132332) | Could this just be "ret float undef"? |
Comment Actions
I thought it wasn't triggering with just "ret float undef", but it indeed does, so simplified the test case.