IR: Convert rounding modes to enum class

Same behavior, but more compact
This commit is contained in:
Lioncache committed 2025-10-01 23:37:57 -04:00
1 parent e4a4a529dd
commit 530821fc4a
9 files changed
+61 -74

No files matched your search

@@ -1180,7 +1180,7 @@ void X87StackOptimization::Run(IREmitter* Emit) {
Ref Value {};
if (ReducedPrecisionMode) {
Value = IREmit->_Vector_FToI(OpSize::i64Bit, OpSize::i64Bit, St0, Round_Host);
Value = IREmit->_Vector_FToI(OpSize::i64Bit, OpSize::i64Bit, St0, RoundMode::Host);
} else {
Value = IREmit->_F80Round(St0);
}