luau/CodeGen
Arseny Kapoulkine 07578df79a CodeGen: Implement support for math.lerp lowering
To implement math.lerp without branches, we add SELECT_NUM which
selects one of the two inputs based on the comparison condition.

For simplicity, we only support C == D for now; this can be extended to
a more generic version with a IrCondition operand E, but that requires
more work on the SSE side (to flip the comparison for some conditions
like Greater, and expose more generic vcmpsd).
2025-01-10 11:46:06 -08:00
..
include CodeGen: Implement support for math.lerp lowering 2025-01-10 11:46:06 -08:00
src CodeGen: Implement support for math.lerp lowering 2025-01-10 11:46:06 -08:00