[llvm] [AMDGPU] Restore the default rounding mode before calls and returns (PR #222247)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 08:53:15 PDT 2026
================
@@ -122,6 +127,15 @@ class SIModeRegister {
bool Changed = false;
+ // Set during Phase 1. A restore at a boundary would undo an explicit request,
+ // so the mixed case is not handled.
+ bool AnyNonDefaultMode = false;
+ bool AnyWritesRoundMode = false;
+
+ bool enforceCallBoundary() const {
----------------
aobolensk wrote:
inlined
https://github.com/llvm/llvm-project/pull/222247
More information about the llvm-commits
mailing list