[clang] [llvm] [mlir] IR: Promote "denormal-fp-math" to a first class attribute (PR #174293)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 21 06:54:44 PST 2026


================
@@ -300,6 +302,15 @@ class Attribute {
   /// Returns memory effects.
   LLVM_ABI MemoryEffects getMemoryEffects() const;
 
+  /// Returns denormal_fpenv.
+  LLVM_ABI struct DenormalFPEnv getDenormalFPEnv() const;
+
+  /// Returns denormal_fp_math.
+  LLVM_ABI DenormalMode getDenormalFPMathRaw() const;
----------------
arsenm wrote:

Probably not needed anymore now that it's 1 attribute instead of 2

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


More information about the cfe-commits mailing list