[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
Tue Feb 3 08:29:51 PST 2026


================
@@ -340,14 +340,28 @@ declare void @func_attr_no_signed_zeros_fp_math_false() "no-signed-zeros-fp-math
 ; // -----
 
 ; CHECK-LABEL: @func_attr_denormal_fp_math_ieee
-; CHECK-SAME: attributes {denormal_fp_math = "ieee"}
-declare void @func_attr_denormal_fp_math_ieee() "denormal-fp-math"="ieee"
+; CHECK-SAME: attributes {passthrough = [
----------------
nikic wrote:

Getting passthrough here is probably not correct if we have a first-class mlir attribute for it?

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


More information about the cfe-commits mailing list