[llvm] [ConstraintFP] Model rounding control registers for inline asm (PR #92846)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 06:55:25 PDT 2024


================
@@ -1412,6 +1412,13 @@ EmitSpecialNode(SDNode *Node, bool IsClone, bool IsCloned,
       }
     }
 
+    // Add rounding control registers as implicit def for inline asm.
+    if (MF->getFunction().hasFnAttribute(Attribute::StrictFP)) {
----------------
arsenm wrote:

Doesn't need x86 

https://github.com/llvm/llvm-project/pull/92846


More information about the llvm-commits mailing list