llvm-project
6da957d8 - [DAGTypeLegalizer] Add missing BR_CC handler for soft-promoted half operands (#196214)

Commit
1 day ago
[DAGTypeLegalizer] Add missing BR_CC handler for soft-promoted half operands (#196214) `SoftPromoteHalfOperand` had no case for `ISD::BR_CC`, causing a crash when a half-typed `fcmp` result fed directly into a conditional branch. All other comparison-related nodes (`SETCC, SELECT_CC`) were already handled. Add `SoftPromoteHalfOp_BR_CC` following the same pattern as `SoftPromoteHalfOp_SELECT_CC`. Fixes #195562 --------- Co-authored-by: Tony Varghese <tony.varghese@ibm.com>
Author
Parents
Loading