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

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 21 02:56:05 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;
----------------
nikic wrote:

What are these raw DenormalMode returning methods for?

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


More information about the cfe-commits mailing list