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
Event Timeline
test/CodeGen/ARM/fp16-instructions.ll | ||
---|---|---|
19 | 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.
Could this just be "ret float undef"?