Skip to content

IR: Promote "denormal-fp-math" to a first class attribute#174293

Merged
arsenm merged 15 commits intomainfrom
users/arsenm/ir/promote-denormal-fp-math-attribute
Feb 5, 2026
Merged

IR: Promote "denormal-fp-math" to a first class attribute#174293
arsenm merged 15 commits intomainfrom
users/arsenm/ir/promote-denormal-fp-math-attribute

Conversation

@arsenm
Copy link
Contributor

@arsenm arsenm commented Jan 3, 2026

Convert "denormal-fp-math" and "denormal-fp-math-f32" into a first
class denormal_fpenv attribute. Previously the query for the effective
denormal mode involved two string attribute queries with parsing. I'm
introducing more uses of this, so it makes sense to convert this
to a more efficient encoding. The old representation was also awkward
since it was split across two separate attributes. The new encoding
just stores the default and float modes as bitfields, largely avoiding
the need to consider if the other mode is set.

The syntax in the common cases looks like this:
denormal_fpenv(preservesign,preservesign)
denormal_fpenv(float: preservesign,preservesign)
denormal_fpenv(dynamic,dynamic float: preservesign,preservesign)

I wasn't sure about reusing the float type name instead of adding a
new keyword. It's parsed as a type but only accepts float. I'm also
debating switching the name to subnormal to match the current
preferred IEEE terminology (also used by nofpclass and other
contexts).

This has a behavior change when using the command flag debug
options to set the denormal mode. The behavior of the flag
ignored functions with an explicit attribute set, per
the default and f32 version. Now that these are one attribute,
the flag logic can't distinguish which of the two components
were explicitly set on the function. Only one test appeared to
rely on this behavior, so I just avoided using the flags in it.

This also does not perform all the code cleanups this enables.
In particular the attributor handling could be cleaned up.

I also guessed at how to support this in MLIR. I followed
MemoryEffects as a reference; it appears bitfields are expanded
into arguments to attributes, so the representation there is
a bit uglier with the 2 2-element fields flattened into 4 arguments.

@arsenm arsenm added the floating-point Floating-point math label Jan 3, 2026 — with Graphite App
Copy link
Contributor Author

arsenm commented Jan 3, 2026

@llvmbot
Copy link
Member

llvmbot commented Jan 3, 2026

@llvm/pr-subscribers-llvm-support
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-backend-x86
@llvm/pr-subscribers-backend-nvptx
@llvm/pr-subscribers-llvm-globalisel
@llvm/pr-subscribers-llvm-transforms
@llvm/pr-subscribers-backend-aarch64

@llvm/pr-subscribers-llvm-ir

Author: Matt Arsenault (arsenm)

Changes

Convert "denormal-fp-math" and "denormal-fp-math-f32" into a first
class denormal_fpenv attribute. Previously the query for the effective
deormal mode involved two string attribute queries with parsing. I'm
introducing more uses of this, so it makes sense to convert this
to a more efficient encoding. The old representation was also awkward
since it was split across two separate attributes. The new encoding
just stores the default and float modes as bitfields, largely avoiding
the need to consider if the other mode is set.

The syntax in the common cases looks like this:
denormal_fpenv(preservesign,preservesign)
denormal_fpenv(float: preservesign,preservesign)
denormal_fpenv(dynamic,dynamic float: preservesign,preservesign)

I wasn't sure about reusing the float type name instead of adding a
new keyword. It's parsed as a type but only accepts float. I'm also
debating switching the name to subnormal to match the current
preferred IEEE terminology (also used by nofpclass and other
contexts).

This has a behavior change when using the command flag debug
options to set the denormal mode. The behavior of the flag
ignored functions with an explicit attribute set, per
the default and f32 version. Now that these are one attribute,
the flag logic can't distinguish which of the two components
were explicitly set on the function. Only one test appeared to
rely on this behavior, so I just avoided using the flags in it.

This also does not perform all the code cleanups this enables.
In particular the attributor handling could be cleaned up.

I also guessed at how to support this in MLIR. I followed
MemoryEffects as a reference; it appears bitfields are expanded
into arguments to attributes, so the representation there is
a bit uglier with the 2 2-element fields flattened into 4 arguments.


Patch is 439.46 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/174293.diff

219 Files Affected:

  • (modified) clang/lib/CodeGen/CGCall.cpp (+8-18)
  • (modified) clang/lib/CodeGen/CGCall.h (+1-1)
  • (modified) clang/test/CodeGen/denormalfpmode-f32.c (+33-27)
  • (modified) clang/test/CodeGen/denormalfpmode.c (+4-4)
  • (modified) clang/test/CodeGenCUDA/flush-denormals.cu (+3-3)
  • (modified) clang/test/CodeGenCUDA/link-builtin-bitcode-denormal-fp-mode.cu (+15-15)
  • (modified) clang/test/CodeGenCUDA/propagate-attributes.cu (+3-9)
  • (modified) clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl (+41-41)
  • (modified) clang/test/CodeGenOpenCL/cl20-device-side-enqueue-attributes.cl (+3-3)
  • (modified) llvm/docs/LangRef.rst (+18-18)
  • (modified) llvm/docs/ReleaseNotes.md (+3)
  • (modified) llvm/include/llvm/ADT/FloatingPointMode.h (+81-12)
  • (modified) llvm/include/llvm/Analysis/ConstantFolding.h (+1-1)
  • (modified) llvm/include/llvm/AsmParser/LLParser.h (+2)
  • (modified) llvm/include/llvm/AsmParser/LLToken.h (+6)
  • (modified) llvm/include/llvm/Bitcode/LLVMBitCodes.h (+1)
  • (modified) llvm/include/llvm/IR/Attributes.h (+14)
  • (modified) llvm/include/llvm/IR/Attributes.td (+4-3)
  • (modified) llvm/include/llvm/IR/Function.h (+3-8)
  • (modified) llvm/lib/AsmParser/LLLexer.cpp (+6)
  • (modified) llvm/lib/AsmParser/LLParser.cpp (+101)
  • (modified) llvm/lib/Bitcode/Reader/BitcodeReader.cpp (+6)
  • (modified) llvm/lib/Bitcode/Writer/BitcodeWriter.cpp (+2)
  • (modified) llvm/lib/CodeGen/CommandFlags.cpp (+7-14)
  • (modified) llvm/lib/IR/Attributes.cpp (+30-7)
  • (modified) llvm/lib/IR/AutoUpgrade.cpp (+38-2)
  • (modified) llvm/lib/IR/Function.cpp (+8-22)
  • (modified) llvm/lib/IR/Verifier.cpp (+3)
  • (modified) llvm/lib/Support/FloatingPointMode.cpp (+16)
  • (modified) llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.cpp (+3-13)
  • (modified) llvm/lib/Target/ARM/ARMAsmPrinter.cpp (+8-10)
  • (modified) llvm/lib/Target/ARM/ARMTargetMachine.cpp (+1-1)
  • (modified) llvm/lib/Transforms/IPO/AttributorAttributes.cpp (+13-21)
  • (modified) llvm/lib/Transforms/Utils/CodeExtractor.cpp (+1)
  • (modified) llvm/test/Analysis/CostModel/AMDGPU/fdiv.ll (+2-2)
  • (added) llvm/test/Assembler/denormal_fpenv.ll (+297)
  • (added) llvm/test/Assembler/invalid_denormal_fpenv.ll (+187)
  • (added) llvm/test/Bitcode/auto_upgrade_denormal_fp_math.ll (+324)
  • (modified) llvm/test/Bitcode/compatibility.ll (+228-2)
  • (modified) llvm/test/CodeGen/AArch64/sqrt-fastmath.ll (+1-1)
  • (modified) llvm/test/CodeGen/AArch64/stack-tagging-ex-1.ll (+1-1)
  • (modified) llvm/test/CodeGen/AArch64/stack-tagging-untag-placement.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll (+36-32)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/fmamix-constant-bus-violation.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx942.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/frem.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.fmul.legacy.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/GlobalISel/madmix-constant-bus-violation.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fdiv.f64.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/amdpal-msgpack-denormal.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/atomics-hw-remarks-gfx90a.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/clamp-modifier.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/clamp.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/dagcombine-fma-fmad.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/default-fp-mode.ll (+15-14)
  • (modified) llvm/test/CodeGen/AMDGPU/fabs-known-signbit-combine-fast-fdiv-lowering.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fcanonicalize.bf16.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/fcanonicalize.f16.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/fcanonicalize.ll (+7-7)
  • (modified) llvm/test/CodeGen/AMDGPU/fdiv-nofpexcept.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fdiv.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmax.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fmin.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fmaxnum.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fminnum.f64.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/fminnum.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fneg-combines.f16.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/fneg-combines.legal.f16.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/fneg-combines.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fneg-combines.new.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/fp-atomics-gfx942.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/frem.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/fsub-as-fneg-src-modifier.ll (+6-6)
  • (modified) llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmax.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global-atomicrmw-fmin.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global-atomics-fp-wrong-subtarget.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmax.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global_atomics_scan_fmin.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/global_atomics_scan_fsub.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/known-never-snan.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmul.legacy.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.exp.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.exp10.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.exp2.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.bf16.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.f16.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.log.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.log10.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.log2.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/mad-mix-bf16.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/mad-mix-hi-bf16.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/mad-mix-hi.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/mad-mix-lo-bf16.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/mad-mix.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/madak.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/madmk.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/omod.ll (+5-5)
  • (modified) llvm/test/CodeGen/AMDGPU/operand-folding.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/pal-metadata-3.0-dvgpr.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/pal-metadata-3.0.gfx1250.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/pal-metadata-3.0.gfx950.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/prevent-fmul-hoist-ir.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/rcp-pattern.ll (+4-4)
  • (modified) llvm/test/CodeGen/AMDGPU/rcp_iflag.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/repeated-divisor.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/rsq.f32-safe.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/rsq.f32.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/sgpr-spill-overlap-wwm-reserve.mir (+1-1)
  • (modified) llvm/test/CodeGen/AMDGPU/udivrem24.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/v_mac.ll (+3-3)
  • (modified) llvm/test/CodeGen/AMDGPU/v_mac_f16.ll (+2-2)
  • (modified) llvm/test/CodeGen/AMDGPU/v_madak_f16.ll (+1-1)
  • (modified) llvm/test/CodeGen/ARM/build-attributes-fn-attr3.ll (+1-1)
  • (modified) llvm/test/CodeGen/ARM/build-attributes-fn-attr4.ll (+1-1)
  • (modified) llvm/test/CodeGen/ARM/build-attributes-fn-attr5.ll (+1-1)
  • (modified) llvm/test/CodeGen/ARM/build-attributes-fn-attr6.ll (+2-2)
  • (modified) llvm/test/CodeGen/ARM/clang-section.ll (+2-2)
  • (modified) llvm/test/CodeGen/ARM/cmse-clear-float-bigend.mir (+1-1)
  • (modified) llvm/test/CodeGen/ARM/softfp-constant-comparison.ll (+1-1)
  • (modified) llvm/test/CodeGen/Generic/denormal-fp-math-cl-opt.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/div.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/f32x2-instructions.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/fast-math.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/fexp2.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/flog2.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/math-intrins-sm80-ptx70-instcombine.ll (+2-2)
  • (modified) llvm/test/CodeGen/NVPTX/math-intrins.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/nvptx-prec-divf32-flag.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/rsqrt-opt.ll (+1-1)
  • (modified) llvm/test/CodeGen/NVPTX/sqrt-approx.ll (+1-1)
  • (modified) llvm/test/CodeGen/PowerPC/fmf-propagation.ll (+2-2)
  • (modified) llvm/test/CodeGen/PowerPC/recipest.ll (+1-1)
  • (modified) llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir (+1-1)
  • (modified) llvm/test/CodeGen/Thumb2/mve-vpt-2-blocks-1-pred.mir (+1-1)
  • (modified) llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll (+1-1)
  • (modified) llvm/test/CodeGen/X86/clang-section-coff.ll (+2-2)
  • (modified) llvm/test/CodeGen/X86/is_fpclass.ll (+2-2)
  • (modified) llvm/test/CodeGen/X86/pow.ll (+1-1)
  • (modified) llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll (+2-2)
  • (modified) llvm/test/CodeGen/X86/sqrt-fastmath-tune.ll (+2-2)
  • (modified) llvm/test/CodeGen/X86/sqrt-fastmath.ll (+5-5)
  • (modified) llvm/test/DebugInfo/COFF/fortran-contained-proc.ll (+2-2)
  • (modified) llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll (+1-1)
  • (modified) llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll (+1-1)
  • (modified) llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll (+1-1)
  • (modified) llvm/test/Other/opt-override-denormal-fp-math-f32.ll (+5-5)
  • (modified) llvm/test/Other/opt-override-denormal-fp-math-mixed.ll (+11-11)
  • (modified) llvm/test/Other/opt-override-denormal-fp-math.ll (+5-5)
  • (modified) llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll (+5-5)
  • (modified) llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-simplify-cfg-CAS-block.ll (+1-1)
  • (modified) llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-log.ll (+5-5)
  • (modified) llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-rcp.ll (+2-2)
  • (modified) llvm/test/Transforms/Attributor/AMDGPU/nofpclass-amdgcn-rsq.ll (+2-2)
  • (modified) llvm/test/Transforms/Attributor/denormal-fp-math.ll (+44-24)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-canonicalize.ll (+57-57)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-fdiv.ll (+4-4)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-frem.ll (+4-4)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-frexp.ll (+6-6)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-ldexp.ll (+9-9)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-log.ll (+7-7)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-minimum-maximum.ll (+8-8)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-minimumnum-maximumnum.ll (+8-8)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-minnum-maxnum.ll (+8-8)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-nan-fmul.ll (+4-4)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-powi.ll (+4-4)
  • (modified) llvm/test/Transforms/Attributor/nofpclass-sqrt.ll (+7-7)
  • (modified) llvm/test/Transforms/Attributor/nofpclass.ll (+59-59)
  • (modified) llvm/test/Transforms/Attributor/reduced/register_benchmark_test.ll (+15-15)
  • (modified) llvm/test/Transforms/EarlyCSE/cannot-be-negative-zero-assert.ll (+1-1)
  • (modified) llvm/test/Transforms/IndVarSimplify/addrec_no_exec_on_every_iteration.ll (+1-1)
  • (modified) llvm/test/Transforms/InferAddressSpaces/AMDGPU/global-atomicrmw-fadd.ll (+1-1)
  • (modified) llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll (+13-13)
  • (modified) llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll (+2-2)
  • (modified) llvm/test/Transforms/InstCombine/combine-is.fpclass-and-fcmp.ll (+2-2)
  • (modified) llvm/test/Transforms/InstCombine/create-class-from-logic-fcmp.ll (+2-2)
  • (modified) llvm/test/Transforms/InstCombine/fcmp-denormals-are-zero.ll (+4-4)
  • (modified) llvm/test/Transforms/InstCombine/fcmp.ll (+3-3)
  • (modified) llvm/test/Transforms/InstCombine/fmod.ll (+2-2)
  • (modified) llvm/test/Transforms/InstCombine/is_fpclass.ll (+28-28)
  • (modified) llvm/test/Transforms/InstCombine/log-to-intrinsic.ll (+2-2)
  • (modified) llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-canonicalize.ll (+3-3)
  • (modified) llvm/test/Transforms/InstSimplify/canonicalize.ll (+48-48)
  • (modified) llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll (+13-13)
  • (modified) llvm/test/Transforms/InstSimplify/floating-point-compare.ll (+9-9)
  • (modified) llvm/test/Transforms/SCCP/float-denormal-simplification.ll (+2-2)
  • (modified) llvm/test/Transforms/SCCP/no-fold-fcmp-dynamic-denormal-mode-issue114947.ll (+1-1)
  • (added) llvm/test/Verifier/denormal_fpenv.ll (+10)
  • (modified) llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll (+1-1)
  • (modified) llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll.expected (+1-1)
  • (modified) llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll.funcsig.expected (+1-1)
  • (modified) llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll.funcsig.globals.expected (+2-2)
  • (modified) llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll.funcsig.noglobals.expected (+1-1)
  • (modified) llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/various_ir_values_dbgrecords.ll.funcsig.transitiveglobals.expected (+1-1)
  • (modified) llvm/unittests/ADT/FloatingPointMode.cpp (+10)
  • (modified) mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td (+18)
  • (modified) mlir/include/mlir/Dialect/LLVMIR/LLVMEnums.td (+26)
  • (modified) mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td (+1-2)
  • (modified) mlir/lib/Target/LLVMIR/ModuleImport.cpp (+18-10)
  • (modified) mlir/lib/Target/LLVMIR/ModuleTranslation.cpp (+24-7)
  • (modified) mlir/test/Target/LLVMIR/Import/function-attributes.ll (+18-4)
  • (modified) mlir/test/Target/LLVMIR/fp-math-function-attributes.mlir (+22-4)
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 4a9025b6e0b0f..c4e2e334134e6 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -1941,11 +1941,9 @@ static bool HasStrictReturn(const CodeGenModule &Module, QualType RetTy,
 static void addDenormalModeAttrs(llvm::DenormalMode FPDenormalMode,
                                  llvm::DenormalMode FP32DenormalMode,
                                  llvm::AttrBuilder &FuncAttrs) {
-  if (FPDenormalMode != llvm::DenormalMode::getDefault())
-    FuncAttrs.addAttribute("denormal-fp-math", FPDenormalMode.str());
-
-  if (FP32DenormalMode != FPDenormalMode && FP32DenormalMode.isValid())
-    FuncAttrs.addAttribute("denormal-fp-math-f32", FP32DenormalMode.str());
+  llvm::DenormalFPEnv FPEnv(FPDenormalMode, FP32DenormalMode);
+  if (FPEnv != llvm::DenormalFPEnv::getDefault())
+    FuncAttrs.addDenormalFPEnvAttr(FPEnv);
 }
 
 /// Add default attributes to a function, which have merge semantics under
@@ -2178,24 +2176,16 @@ void CodeGen::mergeDefaultFunctionDefinitionAttributes(
         CodeGenOpts.FP32DenormalMode.mergeCalleeMode(DenormModeToMergeF32);
   }
 
-  if (Merged == llvm::DenormalMode::getDefault()) {
-    AttrsToRemove.addAttribute("denormal-fp-math");
-  } else if (Merged != DenormModeToMerge) {
-    // Overwrite existing attribute
-    FuncAttrs.addAttribute("denormal-fp-math",
-                           CodeGenOpts.FPDenormalMode.str());
-  }
+  llvm::DenormalFPEnv MergedFPEnv(Merged, MergedF32);
 
-  if (MergedF32 == llvm::DenormalMode::getDefault()) {
-    AttrsToRemove.addAttribute("denormal-fp-math-f32");
-  } else if (MergedF32 != DenormModeToMergeF32) {
+  if (MergedFPEnv == llvm::DenormalFPEnv::getDefault()) {
+    AttrsToRemove.addAttribute(llvm::Attribute::DenormalFPMath);
+  } else {
     // Overwrite existing attribute
-    FuncAttrs.addAttribute("denormal-fp-math-f32",
-                           CodeGenOpts.FP32DenormalMode.str());
+    FuncAttrs.addDenormalFPEnvAttr(MergedFPEnv);
   }
 
   F.removeFnAttrs(AttrsToRemove);
-  addDenormalModeAttrs(Merged, MergedF32, FuncAttrs);
 
   overrideFunctionFeaturesWithTargetFeatures(FuncAttrs, F, TargetOpts);
 
diff --git a/clang/lib/CodeGen/CGCall.h b/clang/lib/CodeGen/CGCall.h
index 4a86d58895dd9..145992652934f 100644
--- a/clang/lib/CodeGen/CGCall.h
+++ b/clang/lib/CodeGen/CGCall.h
@@ -410,7 +410,7 @@ class ReturnValueSlot {
 /// This is useful for adding attrs to bitcode modules that you want to link
 /// with but don't control, such as CUDA's libdevice.  When linking with such
 /// a bitcode library, you might want to set e.g. its functions'
-/// "denormal-fp-math" attribute to match the attr of the functions you're
+/// denormal_fp_math attribute to match the attr of the functions you're
 /// codegen'ing.  Otherwise, LLVM will interpret the bitcode module's lack of
 /// denormal-fp-math attrs as tantamount to denormal-fp-math=ieee, and then LLVM
 /// will propagate denormal-fp-math=ieee up to every transitive caller of a
diff --git a/clang/test/CodeGen/denormalfpmode-f32.c b/clang/test/CodeGen/denormalfpmode-f32.c
index 312d1c9277722..9f0340a0f55a8 100644
--- a/clang/test/CodeGen/denormalfpmode-f32.c
+++ b/clang/test/CodeGen/denormalfpmode-f32.c
@@ -1,48 +1,54 @@
-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-DYNAMIC,CHECK-F32-NONE
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE
+// RUN: %clang_cc1 -fdenormal-fp-math=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE
+// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS
+// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ
+// RUN: %clang_cc1 -fdenormal-fp-math=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-DYNAMIC
 
-// RUN: %clang_cc1 -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=ieee -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS,CHECK-F32-IEEE
-// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ,CHECK-F32-IEEE
-// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ,CHECK-F32-DYNAMIC
+// RUN: %clang_cc1 -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE
+// RUN: %clang_cc1 -fdenormal-fp-math=ieee -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE
+// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS-F32-IEEE
+// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=ieee %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ-F32-IEEE
+// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ-F32-DYNAMIC
 
 
 // RUN: %clang_cc1 -fdenormal-fp-math-f32=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-PS
 // RUN: %clang_cc1 -fdenormal-fp-math=ieee -fdenormal-fp-math-f32=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-PS
-// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign -fdenormal-fp-math-f32=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ,CHECK-F32-PS
+// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign -fdenormal-fp-math-f32=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS
+// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=preserve-sign %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ-F32-PS
 // RUN: %clang_cc1 -fdenormal-fp-math=ieee -fdenormal-fp-math-f32=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-DYNAMIC
 
 
 // RUN: %clang_cc1 -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-PZ
 // RUN: %clang_cc1 -fdenormal-fp-math-f32=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-DYNAMIC
-// RUN: %clang_cc1 -fdenormal-fp-math=ieee -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-NONE,CHECK-F32-PZ
-// RUN: %clang_cc1 -fdenormal-fp-math=dynamic -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-DYNAMIC,CHECK-F32-PZ
-// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS,CHECK-F32-PZ
-// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ,CHECK-F32-NONE
-// RUN: %clang_cc1 -fdenormal-fp-math=dynamic -fdenormal-fp-math-f32=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-DYNAMIC,CHECK-F32-NONE
+// RUN: %clang_cc1 -fdenormal-fp-math=ieee -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-F32-PZ
+// RUN: %clang_cc1 -fdenormal-fp-math=dynamic -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-DYNAMIC-F32-PZ
+// RUN: %clang_cc1 -fdenormal-fp-math=preserve-sign -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PS-F32-PZ
+// RUN: %clang_cc1 -fdenormal-fp-math=positive-zero -fdenormal-fp-math-f32=positive-zero %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-PZ
+// RUN: %clang_cc1 -fdenormal-fp-math=dynamic -fdenormal-fp-math-f32=dynamic %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK-ATTR,CHECK-DYNAMIC
 
 
 // CHECK-LABEL: main
 
 // CHECK-ATTR: attributes #0 =
-// CHECK-NONE-NOT:"denormal-fp-math"
-// CHECK-IEEE: "denormal-fp-math"="ieee,ieee"
-// CHECK-PS: "denormal-fp-math"="preserve-sign,preserve-sign"
-// CHECK-PZ: "denormal-fp-math"="positive-zero,positive-zero"
-// CHECK-DYNAMIC: "denormal-fp-math"="dynamic,dynamic"
+// CHECK-NONE-NOT: denormal_fpenv
 
-// CHECK-F32-NONE-NOT:"denormal-fp-math-f32"
-// CHECK-F32-IEEE: "denormal-fp-math-f32"="ieee,ieee"
-// CHECK-F32-PS: "denormal-fp-math-f32"="preserve-sign,preserve-sign"
-// CHECK-F32-PZ: "denormal-fp-math-f32"="positive-zero,positive-zero"
+// CHECK-IEEE: denormal_fpenv(ieee,ieee)
+// CHECK-PS: denormal_fpenv(preservesign,preservesign)
+// CHECK-PZ: denormal_fpenv(positivezero,positivezero)
+// CHECK-DYNAMIC: denormal_fpenv(dynamic,dynamic)
 
 
-// CHECK-F32-DYNAMIC: "denormal-fp-math-f32"="dynamic,dynamic"
+// CHECK-PS-F32-IEEE: denormal_fpenv(preservesign,preservesign float: ieee,ieee)
+// CHECK-PZ-F32-IEEE: denormal_fpenv(positivezero,positivezero float: ieee,ieee)
+// CHECK-PZ-F32-DYNAMIC: denormal_fpenv(positivezero,positivezero float: dynamic,dynamic)
+// CHECK-PZ-F32-PS: denormal_fpenv(positivezero,positivezero float: preservesign,preservesign)
+// CHECK-DYNAMIC-F32-PZ: denormal_fpenv(dynamic,dynamic float: positivezero,positivezero)
+// CHECK: CHECK-PS-F32-PZ: denormal_fpenv(preservesign,preservesign float: positivezero,positivezero)
+
+// CHECK-F32-IEEE: denormal_fpenv(float: ieee,ieee)
+// CHECK-F32-PS: denormal_fpenv(float: preservesign,preservesign)
+// CHECK-F32-PZ: denormal_fpenv(float: positivezero,positivezero)
+// CHECK-F32-DYNAMIC: denormal_fpenv(float: dynamic,dynamic)
 
 int main(void) {
   return 0;
diff --git a/clang/test/CodeGen/denormalfpmode.c b/clang/test/CodeGen/denormalfpmode.c
index cffff90d6fbe7..8d0ce644c4da1 100644
--- a/clang/test/CodeGen/denormalfpmode.c
+++ b/clang/test/CodeGen/denormalfpmode.c
@@ -6,10 +6,10 @@
 // CHECK-LABEL: main
 
 // The ieee,ieee is the default, so omit the attribute
-// CHECK-IEEE-NOT:"denormal-fp-math"
-// CHECK-PS: attributes #0 = {{.*}}"denormal-fp-math"="preserve-sign,preserve-sign"{{.*}}
-// CHECK-PZ: attributes #0 = {{.*}}"denormal-fp-math"="positive-zero,positive-zero"{{.*}}
-// CHECK-DYNAMIC: attributes #0 = {{.*}}"denormal-fp-math"="dynamic,dynamic"{{.*}}
+// CHECK-IEEE-NOT:denormal_fpenv
+// CHECK-PS: attributes #0 = {{.*}}denormal_fpenv(preservesign,preservesign){{.*}}
+// CHECK-PZ: attributes #0 = {{.*}}denormal_fpenv(positivezero,positivezero){{.*}}
+// CHECK-DYNAMIC: attributes #0 = {{.*}}denormal_fpenv(dynamic,dynamic){{.*}}
 
 int main(void) {
   return 0;
diff --git a/clang/test/CodeGenCUDA/flush-denormals.cu b/clang/test/CodeGenCUDA/flush-denormals.cu
index b5abc29dea14b..7e1700ac64331 100644
--- a/clang/test/CodeGenCUDA/flush-denormals.cu
+++ b/clang/test/CodeGenCUDA/flush-denormals.cu
@@ -24,7 +24,7 @@
 
 #include "Inputs/cuda.h"
 
-// Checks that device function calls get emitted with the "denormal-fp-math-f32"
+// Checks that device function calls get emitted with the denormal_fpenv
 // attribute set when we compile CUDA device code with
 // -fdenormal-fp-math-f32. Further, check that we reflect the presence or
 // absence of -fgpu-flush-denormals-to-zero in a module flag.
@@ -41,8 +41,8 @@
 // CHECK-LABEL: define void @foo() #0
 extern "C" __device__ void foo() {}
 
-// FTZ: attributes #0 = {{.*}} "denormal-fp-math-f32"="preserve-sign,preserve-sign"
-// NOFTZ-NOT: "denormal-fp-math-f32"
+// FTZ: attributes #0 = {{.*}} denormal_fpenv(float: preservesign,preservesign)
+// NOFTZ-NOT: denormal_fpenv
 
 // PTXFTZ:!llvm.module.flags = !{{{.*}}[[MODFLAG:![0-9]+]]}
 // PTXFTZ:[[MODFLAG]] = !{i32 4, !"nvvm-reflect-ftz", i32 1}
diff --git a/clang/test/CodeGenCUDA/link-builtin-bitcode-denormal-fp-mode.cu b/clang/test/CodeGenCUDA/link-builtin-bitcode-denormal-fp-mode.cu
index ef02668c3697b..39460ad92d2b2 100644
--- a/clang/test/CodeGenCUDA/link-builtin-bitcode-denormal-fp-mode.cu
+++ b/clang/test/CodeGenCUDA/link-builtin-bitcode-denormal-fp-mode.cu
@@ -127,39 +127,39 @@ __global__ void kernel_f64(double* out, double* a, double* b, double* c) {
 // We should not be littering call sites with the attribute
 // Everything should use the default ieee with no explicit attribute
 
-// FIXME: Should check-not "denormal-fp-math" within the denormal-fp-math-f32
+// FIXME: Should check-not denormal_fpenv within the denormal-fp-math-f32
 // lines.
 
 // Default mode relies on the implicit check-not for the denormal-fp-math.
 
-// PSZ: #[[$KERNELATTR]] = { {{.*}} "denormal-fp-math"="preserve-sign,preserve-sign"
+// PSZ: #[[$KERNELATTR]] = { {{.*}} denormal_fpenv(preservesign,preservesign)
 // PSZ-SAME: "target-cpu"="gfx803"
-// PSZ: #[[$FUNCATTR]] = { {{.*}} "denormal-fp-math-f32"="preserve-sign,preserve-sign"
+// PSZ: #[[$FUNCATTR]] = { {{.*}} denormal_fpenv(float: preservesign,preservesign)
 // PSZ-SAME: "target-cpu"="gfx803"
-// PSZ: #[[$WEAK_FUNCATTR]] = { {{.*}} "denormal-fp-math-f32"="preserve-sign,preserve-sign"
+// PSZ: #[[$WEAK_FUNCATTR]] = { {{.*}} denormal_fpenv(float: preservesign,preservesign)
 // PSZ-SAME: "target-cpu"="gfx803"
 
-// FIXME: Should check-not "denormal-fp-math" within the line
-// IEEEF64-PSZF32: #[[$KERNELATTR]] = { {{.*}} "denormal-fp-math-f32"="preserve-sign,preserve-sign"
+// FIXME: Should check-not denormal_fpenv within the line
+// IEEEF64-PSZF32: #[[$KERNELATTR]] = { {{.*}} denormal_fpenv(float: preservesign,preservesign)
 // IEEEF64-PSZF32-SAME: "target-cpu"="gfx803"
-// IEEEF64-PSZF32: #[[$FUNCATTR]] = { {{.*}} "denormal-fp-math-f32"="preserve-sign,preserve-sign"
+// IEEEF64-PSZF32: #[[$FUNCATTR]] = { {{.*}} denormal_fpenv(float: preservesign,preservesign)
 // IEEEF64-PSZF32-SAME: "target-cpu"="gfx803"
-// IEEEF64-PSZF32: #[[$WEAK_FUNCATTR]] = { {{.*}} "denormal-fp-math-f32"="preserve-sign,preserve-sign"
+// IEEEF64-PSZF32: #[[$WEAK_FUNCATTR]] = { {{.*}} denormal_fpenv(float: preservesign,preservesign)
 // IEEEF64-PSZF32-SAME: "target-cpu"="gfx803"
 
-// IEEEF32-PSZF64-DYNF32: #[[$KERNELATTR]] = { {{.*}} "denormal-fp-math"="preserve-sign,preserve-sign" "denormal-fp-math-f32"="ieee,ieee" {{.*}} "target-cpu"="gfx803" {{.*}}  }
+// IEEEF32-PSZF64-DYNF32: #[[$KERNELATTR]] = { {{.*}} denormal_fpenv(preservesign,preservesign float: ieee,ieee) {{.*}} "target-cpu"="gfx803" {{.*}}  }
 // implicit check-not
 // implicit check-not
 
 
-// IEEEF32-PSZF64-DYNFULL: #[[$KERNELATTR]] = { {{.*}} "denormal-fp-math"="preserve-sign,preserve-sign" "denormal-fp-math-f32"="ieee,ieee"
+// IEEEF32-PSZF64-DYNFULL: #[[$KERNELATTR]] = { {{.*}} denormal_fpenv(preservesign,preservesign float: ieee,ieee)
 // IEEEF32-PSZF64-DYNFULL-SAME: "target-cpu"="gfx803"
-// IEEEF32-PSZF64-DYNFULL: #[[$FUNCATTR]] = { {{.*}} "denormal-fp-math"="preserve-sign,preserve-sign" "denormal-fp-math-f32"="ieee,ieee"
+// IEEEF32-PSZF64-DYNFULL: #[[$FUNCATTR]] = { {{.*}} denormal_fpenv(preservesign,preservesign float: ieee,ieee)
 // IEEEF32-PSZF64-DYNFULL-SAME: "target-cpu"="gfx803"
-// IEEEF32-PSZF64-DYNFULL: #[[$WEAK_FUNCATTR]] = { {{.*}} "denormal-fp-math"="preserve-sign,preserve-sign" "denormal-fp-math-f32"="ieee,ieee"
+// IEEEF32-PSZF64-DYNFULL: #[[$WEAK_FUNCATTR]] = { {{.*}} denormal_fpenv(preservesign,preservesign float: ieee,ieee)
 // IEEEF32-PSZF64-DYNFULL-SAME: "target-cpu"="gfx803"
 
 // -mlink-bitcode-file doesn't internalize or propagate attributes.
-// NOINTERNALIZE-IEEEF32-PSZF64-DYNFULL: #[[$KERNELATTR]] = { {{.*}} "denormal-fp-math"="preserve-sign,preserve-sign" "denormal-fp-math-f32"="ieee,ieee" {{.*}} "target-cpu"="gfx803" {{.*}} }
-// NOINTERNALIZE-IEEEF32-PSZF64-DYNFULL: #[[$FUNCATTR]] = { {{.*}} "denormal-fp-math"="dynamic,dynamic" {{.*}} }
-// NOINTERNALIZE-IEEEF32-PSZF64-DYNFULL: #[[$WEAK_FUNCATTR]] = { {{.*}} "denormal-fp-math"="dynamic,dynamic" {{.*}} }
+// NOINTERNALIZE-IEEEF32-PSZF64-DYNFULL: #[[$KERNELATTR]] = { {{.*}} denormal_fpenv(preservesign,preservesign float: ieee,ieee) {{.*}} "target-cpu"="gfx803" {{.*}} }
+// NOINTERNALIZE-IEEEF32-PSZF64-DYNFULL: #[[$FUNCATTR]] = { {{.*}} denormal_fpenv(dynamic,dynamic) {{.*}} }
+// NOINTERNALIZE-IEEEF32-PSZF64-DYNFULL: #[[$WEAK_FUNCATTR]] = { {{.*}} denormal_fpenv(dynamic,dynamic) {{.*}} }
diff --git a/clang/test/CodeGenCUDA/propagate-attributes.cu b/clang/test/CodeGenCUDA/propagate-attributes.cu
index a7e6b09ff97db..40a8c32e53d21 100644
--- a/clang/test/CodeGenCUDA/propagate-attributes.cu
+++ b/clang/test/CodeGenCUDA/propagate-attributes.cu
@@ -53,14 +53,14 @@ __global__ void kernel() { lib_fn(); }
 // line.
 
 // Check the attribute list for kernel.
+// NOFTZ-NOT: denormal_fpenv
+
 // CHECK: attributes [[kattr]] = {
 
 // CHECK-SAME: convergent
 // CHECK-SAME: norecurse
 
-// FTZ-NOT: "denormal-fp-math"
-// FTZ-SAME: "denormal-fp-math-f32"="preserve-sign,preserve-sign"
-// NOFTZ-NOT: "denormal-fp-math-f32"
+// FTZ-SAME: denormal_fpenv(float: preservesign,preservesign)
 
 // CHECK-SAME: "no-trapping-math"="true"
 
@@ -70,10 +70,4 @@ __global__ void kernel() { lib_fn(); }
 // CHECK-SAME: convergent
 // CHECK-NOT: norecurse
 
-// FTZ-NOT: "denormal-fp-math"
-// NOFTZ-NOT: "denormal-fp-math"
-
-// FTZ-SAME: "denormal-fp-math-f32"="preserve-sign,preserve-sign"
-// NOFTZ-NOT: "denormal-fp-math-f32"
-
 // CHECK-SAME: "no-trapping-math"="true"
diff --git a/clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl b/clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
index 2cbc9787a04b0..8fe3404fed366 100644
--- a/clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
+++ b/clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl
@@ -69,7 +69,7 @@ kernel void test_target_features_kernel(global int *i) {
 // CHECK: @__test_target_features_kernel_block_invoke_kernel.runtime.handle = internal addrspace(1) externally_initialized constant %block.runtime.handle.t.3 zeroinitializer, section ".amdgpu.kernel.runtime.handle"
 // CHECK: @llvm.used = appending addrspace(1) global [10 x ptr] [ptr @__test_block_invoke_kernel, ptr addrspacecast (ptr addrspace(1) @__test_block_invoke_kernel.runtime.handle to ptr), ptr @__test_block_invoke_2_kernel, ptr addrspacecast (ptr addrspace(1) @__test_block_invoke_2_kernel.runtime.handle to ptr), ptr @__test_block_invoke_3_kernel, ptr addrspacecast (ptr addrspace(1) @__test_block_invoke_3_kernel.runtime.handle to ptr), ptr @__test_block_invoke_4_kernel, ptr addrspacecast (ptr addrspace(1) @__test_block_invoke_4_kernel.runtime.handle to ptr), ptr @__test_target_features_kernel_block_invoke_kernel, ptr addrspacecast (ptr addrspace(1) @__test_target_features_kernel_block_invoke_kernel.runtime.handle to ptr)], section "llvm.metadata"
 //.
-// NOCPU: Function Attrs: convergent noinline norecurse nounwind optnone
+// NOCPU: Function Attrs: convergent noinline norecurse nounwind optnone denormal_fpenv(float: preservesign,preservesign)
 // NOCPU-LABEL: define dso_local void @callee(
 // NOCPU-SAME: i64 noundef [[ID:%.*]], ptr addrspace(1) noundef [[OUT:%.*]]) #[[ATTR1:[0-9]+]] {
 // NOCPU-NEXT:  [[ENTRY:.*:]]
@@ -87,7 +87,7 @@ kernel void test_target_features_kernel(global int *i) {
 // NOCPU-NEXT:    ret void
 //
 //
-// NOCPU: Function Attrs: convergent noinline norecurse nounwind optnone
+// NOCPU: Function Attrs: convergent noinline norecurse nounwind optnone denormal_fpenv(float: preservesign,prese...
[truncated]

@llvmbot llvmbot added backend:ARM backend:AArch64 backend:AMDGPU backend:PowerPC backend:X86 clang:codegen IR generation bugs: mangling, exceptions, etc. llvm:codegen debuginfo llvm:globalisel mlir:llvm mlir llvm:instcombine Covers the InstCombine, InstSimplify and AggressiveInstCombine passes backend:NVPTX llvm:support llvm:analysis Includes value tracking, cost tables and constant folding llvm:transforms llvm:adt labels Jan 3, 2026
@github-actions
Copy link

github-actions bot commented Jan 3, 2026

🐧 Linux x64 Test Results

  • 169147 tests passed
  • 3036 tests skipped
  • 18 tests failed

Failed Tests

(click on a test name to see its output)

LLVM

LLVM.Bitcode/auto_upgrade_denormal_fp_math.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-as < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/auto_upgrade_denormal_fp_math.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/auto_upgrade_denormal_fp_math.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-as
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/auto_upgrade_denormal_fp_math.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/auto_upgrade_denormal_fp_math.ll:269:10: error: CHECK: expected string not found in input
# | ; CHECK: Function Attrs: denormal_fpenv(dynamic float: preservesign)
# |          ^
# | <stdin>:146:10: note: scanning from here
# |  ret void
# |          ^
# | <stdin>:149:3: note: possible intended match here
# | ; Function Attrs: denormal_fpenv(dynamic, float: preservesign)
# |   ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/auto_upgrade_denormal_fp_math.ll:364:10: error: CHECK: expected string not found in input
# | ; CHECK: attributes #[[ATTR11]] = { denormal_fpenv(dynamic float: preservesign) }
# |          ^
# | <stdin>:204:62: note: scanning from here
# | attributes #10 = { denormal_fpenv(float: preservesign|ieee) }
# |                                                              ^
# | <stdin>:204:62: note: with "ATTR11" equal to "11"
# | attributes #10 = { denormal_fpenv(float: preservesign|ieee) }
# |                                                              ^
# | <stdin>:205:1: note: possible intended match here
# | attributes #11 = { denormal_fpenv(dynamic, float: preservesign) }
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/auto_upgrade_denormal_fp_math.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            141:  ret void 
# |            142: } 
# |            143:  
# |            144: ; Function Attrs: denormal_fpenv(dynamic) 
# |            145: define void @str_denormal_fp_math_dynamic_dynamic__denormal_fp_math_f32_preserve_sign_dynamic_dynamic() #2 { 
# |            146:  ret void 
# | check:269'0              X error: no match found
# |            147: } 
# | check:269'0     ~~
# |            148:  
# | check:269'0     ~
# |            149: ; Function Attrs: denormal_fpenv(dynamic, float: preservesign) 
# | check:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:269'1       ?                                                             possible intended match
# |            150: define void @str_denormal_fp_math_dynamic_dynamic__denormal_fp_math_f32_preserve_sign_preserve_sign() #11 { 
# | check:269'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            151:  ret void 
# |            152: } 
# |            153:  
# |            154: ; Function Attrs: denormal_fpenv(dynamic|positivezero, float: dynamic|preservesign) 
# |              .
# |              .
# |              .
# |            199: attributes #5 = { denormal_fpenv(preservesign|ieee) } 
# |            200: attributes #6 = { denormal_fpenv(float: preservesign) } 
# |            201: attributes #7 = { denormal_fpenv(float: dynamic) } 
# |            202: attributes #8 = { denormal_fpenv(float: positivezero) } 
# |            203: attributes #9 = { denormal_fpenv(float: ieee|preservesign) } 
# |            204: attributes #10 = { denormal_fpenv(float: preservesign|ieee) } 
# | check:364'0                                                                  X error: no match found
# | check:364'1                                                                    with "ATTR11" equal to "11"
# |            205: attributes #11 = { denormal_fpenv(dynamic, float: preservesign) } 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:364'2     ?                                                                  possible intended match
# |            206: attributes #12 = { denormal_fpenv(dynamic|positivezero, float: dynamic|preservesign) } 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            207: attributes #13 = { "denormal-fp-math"="foo,ieee" } 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            208: attributes #14 = { "denormal-fp-math"="ieee,ieee,ieee" } 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            209: attributes #15 = { "denormal-fp-math-f32"="foo,ieee" } 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            210: attributes #16 = { "denormal-fp-math"="bar" "denormal-fp-math-f32"="foo,ieee" } 
# | check:364'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.Bitcode/compatibility.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-as < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/compatibility.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-as | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/compatibility.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-as
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-as: <stdin>:2400:83: error: expected ',' before float:
# | define void @denormal_fpenv__ieee_ieee_float_ieee_ieee() denormal_fpenv(ieee|ieee float: ieee|ieee) {
# |                                                                                   ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis: error: file too small to contain bitcode header
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-as
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-dis
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/compatibility.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/compatibility.ll:1151:16: error: CHECK-LABEL: expected string not found in input
# | ; CHECK-LABEL: fastMathFlagsForCalls(
# |                ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:1:14: note: possible intended match here
# | ; ModuleID = '<stdin>'
# |              ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Bitcode/compatibility.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               1: ; ModuleID = '<stdin>' 
# | label:1151'0     X~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | label:1151'1                  ?          possible intended match
# |               2: source_filename = "<stdin>" 
# | label:1151'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
sed 's/DEFAULT_MODE/ieee/g' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/GlobalISel/Output/fdiv.f32.ll.tmp.ieee
# executed command: sed s/DEFAULT_MODE/ieee/g /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
sed 's/DEFAULT_MODE/preservesign/g' /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll > /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/GlobalISel/Output/fdiv.f32.ll.tmp.preservesign
# executed command: sed s/DEFAULT_MODE/preservesign/g /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -mtriple=amdgcn -mcpu=tahiti < /home/gha/actions-runner/_work/llvm-project/llvm-project/build/test/CodeGen/AMDGPU/GlobalISel/Output/fdiv.f32.ll.tmp.ieee | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GCN-IEEE,GFX6-IEEE,GFX6-IEEE-FASTFMA /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel -mtriple=amdgcn -mcpu=tahiti
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:5235:39: error: expected ',' before float:
# | attributes #0 = { denormal_fpenv(ieee float: dynamic) }
# |                                       ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GCN-IEEE,GFX6-IEEE,GFX6-IEEE-FASTFMA /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GCN,GCN-IEEE,GFX6-IEEE,GFX6-IEEE-FASTFMA /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f32.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/default-fp-mode.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/default-fp-mode.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/default-fp-mode.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:181:56: error: expected ',' before float:
# | attributes #7 = { nounwind denormal_fpenv(preservesign float:ieee) }
# |                                                        ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/default-fp-mode.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/default-fp-mode.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/fcanonicalize-elimination.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx801 -denormal-fp-math-f32=preserve-sign < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,VI,VI-FLUSH,GCN-FLUSH /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx801 -denormal-fp-math-f32=preserve-sign
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:951:47: error: expected ',' before float:
# | attributes #2 = { denormal_fpenv(preservesign float: ieee) }
# |                                               ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,VI,VI-FLUSH,GCN-FLUSH /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -enable-var-scope -check-prefixes=GCN,VI,VI-FLUSH,GCN-FLUSH /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/AMDGPU/hsa-fp-mode.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn--amdhsa < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn--amdhsa
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <stdin>:96:56: error: expected ',' before float:
# | attributes #3 = { nounwind denormal_fpenv(preservesign float: ieee) }
# |                                                        ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GCN /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/Generic/denormal-fp-math-cl-opt.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -denormal-fp-math=dynamic --denormal-fp-math-f32=preserve-sign -stop-after=finalize-isel < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Generic/denormal-fp-math-cl-opt.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Generic/denormal-fp-math-cl-opt.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -denormal-fp-math=dynamic --denormal-fp-math-f32=preserve-sign -stop-after=finalize-isel
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Generic/denormal-fp-math-cl-opt.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Generic/denormal-fp-math-cl-opt.ll:6:10: error: CHECK: expected string not found in input
# | ; CHECK: attributes #0 = { denormal_fpenv(dynamic float: preservesign) }
# |          ^
# | <stdin>:1:1: note: scanning from here
# | --- |
# | ^
# | <stdin>:11:2: note: possible intended match here
# |  attributes #0 = { denormal_fpenv(dynamic, float: preservesign) }
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Generic/denormal-fp-math-cl-opt.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: --- | 
# | check:6'0     X~~~~~ error: no match found
# |            2:  ; ModuleID = '<stdin>' 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |            3:  source_filename = "<stdin>" 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            4:  target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            5:   
# | check:6'0     ~~
# |            6:  ; Function Attrs: denormal_fpenv(dynamic, float: preservesign) 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            7:  define float @foo(float %var) #0 { 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            8:  ret float %var 
# | check:6'0     ~~~~~~~~~~~~~~~~
# |            9:  } 
# | check:6'0     ~~~
# |           10:   
# | check:6'0     ~~
# |           11:  attributes #0 = { denormal_fpenv(dynamic, float: preservesign) } 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:6'1      ?                                                                 possible intended match
# |           12: ... 
# | check:6'0     ~~~~
# |           13: --- 
# | check:6'0     ~~~~
# |           14: name: foo 
# | check:6'0     ~~~~~~~~~~
# |           15: alignment: 16 
# | check:6'0     ~~~~~~~~~~~~~~
# |           16: exposesReturnsTwice: false 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main -mattr=+mve -run-pass=arm-low-overhead-loops /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir -o - --verify-machineinstrs | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=thumbv8.1m.main -mattr=+mve -run-pass=arm-low-overhead-loops /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir -o - --verify-machineinstrs
# .---command stderr------------
# | error: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir:67:83: expected ',' before float:
# |   attributes #0 = { nofree norecurse nounwind optsize denormal_fpenv(preservesign float: ieee) "frame-pointer"="none" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="cortex-m55" "target-features"="+armv8.1-m.main,+dsp,+fp-armv8d16,+fp-armv8d16sp,+fp16,+fp64,+fullfp16,+hwdiv,+lob,+mve,+mve.fp,+ras,+thumb-mode,+vfp2,+vfp2sp,+vfp3d16,+vfp3d16sp,+vfp4d16,+vfp4d16sp,-aes,-bf16,-cdecp0,-cdecp1,-cdecp2,-cdecp3,-cdecp4,-cdecp5,-cdecp6,-cdecp7,-crc,-crypto,-dotprod,-fp16fml,-hwdiv-arm,-i8mm,-sb,-sha2" }
# |                                                                                   ^
# | 
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: 
# | 
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/LowOverheadLoops/skip-vpt-debug.mir
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.CodeGen/Thumb2/pacbti-m-outliner-4.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --force-dwarf-frame-section /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --force-dwarf-frame-section /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll -o -
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll:182:105: error: expected ',' before float:
# | attributes #0 = { minsize noinline optsize "sign-return-address"="non-leaf" denormal_fpenv(preservesign float: ieee) "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="true" "no-jump-tables"="false" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="cortex-m3" "target-features"="+armv7-m,+hwdiv,+thumb-mode" "use-soft-float"="false" }
# |                                                                                                         ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/Thumb2/pacbti-m-outliner-4.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.Instrumentation/NumericalStabilitySanitizer/basic.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=nsan -nsan-shadow-type-mapping=dqq -nsan-truncate-fcmp-eq=false -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll --check-prefixes=CHECK,DQQ
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=nsan -nsan-shadow-type-mapping=dqq -nsan-truncate-fcmp-eq=false -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll:917:150: error: expected ',' before float:
# | attributes #0 = { nounwind readonly uwtable sanitize_numerical_stability "correctly-rounded-divide-sqrt-fp-math"="false" denormal_fpenv(preservesign float: ieee) "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="true" "no-jump-tables"="false" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "use-soft-float"="false" }
# |                                                                                                                                                      ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll --check-prefixes=CHECK,DQQ
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/basic.ll --check-prefixes=CHECK,DQQ
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=nsan -nsan-shadow-type-mapping=dqq -nsan-propagate-non-ft-const-stores-as-ft -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=nsan -nsan-shadow-type-mapping=dqq -nsan-propagate-non-ft-const-stores-as-ft -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll:19:150: error: expected ',' before float:
# | attributes #0 = { nounwind readonly uwtable sanitize_numerical_stability "correctly-rounded-divide-sqrt-fp-math"="false" denormal_fpenv(preservesign float: ieee) "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="true" "no-jump-tables"="false" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="true" "use-soft-float"="false" }
# |                                                                                                                                                      ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=nsan -nsan-shadow-type-mapping=dqq -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=nsan -nsan-shadow-type-mapping=dqq -S /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll:15:150: error: expected ',' before float:
# | attributes #0 = { nounwind readonly uwtable sanitize_numerical_stability "correctly-rounded-divide-sqrt-fp-math"="false" denormal_fpenv(preservesign float: ieee) "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="true" "no-jump-tables"="false" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="true" "use-soft-float"="false" }
# |                                                                                                                                                      ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Instrumentation/NumericalStabilitySanitizer/scalable_vector.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.Transforms/Attributor/denormal-fp-math.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=attributor < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Attributor/denormal-fp-math.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --allow-unused-prefixes /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Attributor/denormal-fp-math.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=attributor
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:378:42: error: expected ',' before float:
# | attributes #5 = { denormal_fpenv(dynamic float: preservesign) }
# |                                          ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --allow-unused-prefixes /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Attributor/denormal-fp-math.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --allow-unused-prefixes /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Attributor/denormal-fp-math.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.Transforms/Attributor/reduced/register_benchmark_test.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=attributor  -attributor-annotate-decl-cs  -S < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Attributor/reduced/register_benchmark_test.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -passes=attributor -attributor-annotate-decl-cs -S
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:1569:106: error: expected ',' before float:
# | attributes #9 = { nobuiltin nounwind "correctly-rounded-divide-sqrt-fp-math"="false" denormal_fpenv(ieee float: ieee) "disable-tail-calls"="false" "frame-pointer"="none" "less-precise-fpmad"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "use-soft-float"="false" }
# |                                                                                                          ^
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -mtriple=amdgcn-amd-amdhsa -S -passes=inline
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:876:43: error: expected ',' before float:
# | attributes #12 = { denormal_fpenv(dynamic float: preservesign) }
# |                                           ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/Inline/AMDGPU/inline-denormal-fp-math.ll
# `-----------------------------
# error: command failed with exit status: 2

--

LLVM.Transforms/InstCombine/simplify-demanded-fpclass-maxnum.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instcombine < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maxnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maxnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instcombine
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maxnum.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maxnum.ll:2203:12: error: undefined variable: META0
# | ; CHECK: [[META0]] = !{}
# |            ^
# | <stdin>:1154:12: note: possible intended match here
# | attributes #0 = { denormal_fpenv(preservesign) }
# |            ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maxnum.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1143:  
# |            1144: define nofpclass(snan) float @qnan_result_demands_snan_rhs(i1 %cond, float %unknown0, float %unknown1) { 
# |            1145:  %snan = call float @returns_snan() 
# |            1146:  %select = select i1 %cond, float %snan, float %unknown0 
# |            1147:  %result = call float @llvm.maxnum.f32(float %unknown1, float %select) 
# |            1148:  ret float %result 
# | check:2203'0                       X error: match failed for invalid pattern
# | check:2203'1                         undefined variable: META0
# |            1149: } 
# | check:2203'0     ~~
# |            1150:  
# | check:2203'0     ~
# |            1151: ; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) 
# | check:2203'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1152: declare float @llvm.maxnum.f32(float, float) #2 
# | check:2203'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1153:  
# | check:2203'0     ~
# |            1154: attributes #0 = { denormal_fpenv(preservesign) } 
# | check:2203'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:2203'2                ?                                      possible intended match
# |            1155: attributes #1 = { denormal_fpenv(dynamic) } 
# | check:2203'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1156: attributes #2 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) } 
# | check:2203'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.Transforms/InstCombine/simplify-demanded-fpclass-minnum.ll
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instcombine < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instcombine
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minnum.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minnum.ll:2193:12: error: undefined variable: META0
# | ; CHECK: [[META0]] = !{}
# |            ^
# | <stdin>:1145:12: note: possible intended match here
# | attributes #0 = { denormal_fpenv(preservesign) }
# |            ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minnum.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1134:  
# |            1135: define nofpclass(snan) float @qnan_result_demands_snan_rhs(i1 %cond, float %unknown0, float %unknown1) { 
# |            1136:  %snan = call float @returns_snan() 
# |            1137:  %select = select i1 %cond, float %snan, float %unknown0 
# |            1138:  %result = call float @llvm.minnum.f32(float %unknown1, float %select) 
# |            1139:  ret float %result 
# | check:2193'0                       X error: match failed for invalid pattern
# | check:2193'1                         undefined variable: META0
# |            1140: } 
# | check:2193'0     ~~
# |            1141:  
# | check:2193'0     ~
# |            1142: ; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) 
# | check:2193'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1143: declare float @llvm.minnum.f32(float, float) #2 
# | check:2193'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1144:  
# | check:2193'0     ~
# |            1145: attributes #0 = { denormal_fpenv(preservesign) } 
# | check:2193'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:2193'2                ?                                      possible intended match
# |            1146: attributes #1 = { denormal_fpenv(dynamic) } 
# | check:2193'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1147: attributes #2 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) } 
# | check:2193'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

LLVM.Transforms/InstSimplify/constant-fold-fp-denormal.ll
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instsimplify < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt -S -passes=instsimplify
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/opt: <stdin>:1211:48: error: expected ',' before float:
# | attributes #5 = { nounwind denormal_fpenv(ieee float: positivezero|ieee) }
# |                                                ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/Transforms/InstSimplify/constant-fold-fp-denormal.ll
# `-----------------------------
# error: command failed with exit status: 2

--

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the infrastructure label.

@arsenm arsenm deleted the users/arsenm/ir/promote-denormal-fp-math-attribute branch February 5, 2026 13:31
@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder cross-project-tests-sie-ubuntu-dwarf5 running on doug-worker-1b while building clang,llvm,mlir at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/163/builds/33995

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.053 [3582/8/1] Generating VCSRevision.h
0.107 [3581/8/2] Running utility command for liblldb-header-staging
1.159 [3581/7/3] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
1.571 [3581/6/4] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support/Z3Solver.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/SMTAPI.h:17,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support/Z3Solver.cpp:12:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/Support/SMTAPI.h:17,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/lib/Support/Z3Solver.cpp:12:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu-dwarf5/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder cross-project-tests-sie-ubuntu running on doug-worker-1a while building clang,llvm,mlir at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/181/builds/36506

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.024 [3585/8/1] Generating VCSRevision.h
0.060 [3584/8/2] Running utility command for liblldb-header-staging
0.863 [3584/7/3] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/ScaledNumber.cpp
In file included from /usr/include/c++/9/cassert:44,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/ScaledNumber.cpp:14:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/ScaledNumber.cpp:14:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.088 [3584/6/4] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/9/cassert:44,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.113 [3584/5/5] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/build/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -c /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/Z3Solver.cpp
In file included from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/lib/Support/Z3Solver.cpp:9:
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/ScopeExit.h:29:26: warning: ‘nodiscard’ attribute applied to ‘llvm::scope_exit<Callable>::scope_exit(Fp&&)’ with void return type [-Wattributes]
   29 |   [[nodiscard]] explicit scope_exit(Fp &&F)
      |                          ^~~~~~~~~~
/home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/ADT/ScopeExit.h:32:17: warning: ‘nodiscard’ attribute applied to ‘llvm::scope_exit<Callable>::scope_exit(llvm::scope_exit<Callable>&&)’ with void return type [-Wattributes]
   32 |   [[nodiscard]] scope_exit(scope_exit &&Rhs)
      |                 ^~~~~~~~~~
In file included from /usr/include/c++/9/cassert:44,
                 from /home/buildbot/buildbot-root/cross-project-tests-sie-ubuntu/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder openmp-offload-libc-amdgpu-runtime running on omp-vega20-1 while building clang,llvm,mlir at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/17423

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --cmake-file=AMDGPULibcBot.cmake' (failure)
...
[661/4901] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[662/4901] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[663/4901] Linking CXX static library lib/libDynamicLibraryLib.a
[664/4901] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[665/4901] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[666/4901] Linking CXX shared library lib/libbenchmark.so.0.0.0
[667/4901] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[668/4901] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[669/4901] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[670/4901] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/lib/Support -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[671/4901] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/lib/Support -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/build/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include -I/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/openmp-offload-libc-amdgpu-runtime/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-win-fast running on as-builder-3 while building clang,llvm,mlir at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/2/builds/43801

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
 Assembling: C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\Support\BLAKE3\blake3_avx512_x86-64_windows_msvc.asm
[171/4389] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_neon.c.obj
[172/4389] Building CXX object utils\TableGen\CMakeFiles\llvm-min-tblgen.dir\llvm-min-tblgen.cpp.obj
[173/4389] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_portable.c.obj
[174/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\ProgramStack.cpp.obj
[175/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\RWMutex.cpp.obj
[176/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\StringMatcher.cpp.obj
[177/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TGTimer.cpp.obj
[178/4389] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_dispatch.c.obj
[179/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\lib\Support -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\Support -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\build\include -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include -IC:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2 /DNDEBUG -MD /EHs-c- /GR- -std:c++17 /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\lib\Support\APFixedPoint.cpp
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\buildbot\as-builder-3\llvm-clang-x86_64-win-fast\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
[180/4389] Building CXX object lib\FileCheck\CMakeFiles\LLVMFileCheck.dir\FileCheck.cpp.obj
[181/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\CASNodeSchema.cpp.obj
[182/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\ObjectStore.cpp.obj
[183/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Memory.cpp.obj
[184/4389] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Transport.cpp.obj
[185/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Threading.cpp.obj
[186/4389] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Protocol.cpp.obj
[187/4389] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\Attributes.cpp.obj
[188/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TGLexer.cpp.obj
[189/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\DatabaseFile.cpp.obj
[190/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\ActionCache.cpp.obj
[191/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Program.cpp.obj
[192/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Signals.cpp.obj
[193/4389] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Path.cpp.obj
[194/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\NamedValuesSchema.cpp.obj
[195/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\StringToOffsetTable.cpp.obj
[196/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\OnDiskDataAllocator.cpp.obj
[197/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Error.cpp.obj
[198/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\BuiltinCAS.cpp.obj
[199/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\JSONBackend.cpp.obj
[200/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\BuiltinUnifiedCASDatabases.cpp.obj
[201/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\SetTheory.cpp.obj
[202/4389] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\InMemoryCAS.cpp.obj
[203/4389] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\CodeGenIntrinsics.cpp.obj
[204/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TableGenBackend.cpp.obj
[205/4389] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\TargetLibraryInfoEmitter.cpp.obj
[206/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Record.cpp.obj
[207/4389] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\RISCVTargetDefEmitter.cpp.obj
[208/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TGParser.cpp.obj
[209/4389] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\DirectiveEmitter.cpp.obj
[210/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\DetailedRecordsBackend.cpp.obj
[211/4389] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\ARMTargetDefEmitter.cpp.obj
[212/4389] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\RuntimeLibcalls.cpp.obj
[213/4389] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TableGenBackendSkeleton.cpp.obj

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-ubuntu-fast running on sie-linux-worker while building clang,llvm,mlir at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/45995

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.018 [3406/8/1] Generating VCSRevision.h
0.604 [3406/7/2] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
0.616 [3406/6/3] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
0.633 [3406/5/4] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/lib/Support/ScaledNumber.cpp

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder openmp-offload-amdgpu-runtime-2 running on rocm-worker-hw-02 while building clang,llvm,mlir at step 5 "compile-openmp".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/22001

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
0.230 [4160/13/661] Generating ../../../../lib/libscanbuild/resources/selectable.js
0.232 [4160/12/662] Generating ../../../../lib/libscanbuild/resources/sorttable.js
0.235 [4160/11/663] Generating ../../../../lib/libscanbuild/resources/scanview.css
0.256 [4160/10/664] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
0.256 [4160/9/665] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
0.281 [4160/8/666] Linking CXX shared library lib/libbenchmark.so.0.0.0
0.289 [4159/8/667] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
0.316 [4158/8/668] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
0.328 [4157/8/669] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
0.483 [4157/7/670] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/Support -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
0.515 [4157/6/671] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/lib/Support -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder flang-x86_64-windows running on minipc-ryzen-win while building clang,llvm,mlir at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/166/builds/6525

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
Statistics zeroed
3.992 [5686/6/1] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\ScaledNumber.cpp.obj
FAILED: [code=2] lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\flang-x86_64-windows\build\lib\Support -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support -IC:\buildbot\flang-x86_64-windows\build\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\ScaledNumber.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support\ScaledNumber.cpp
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
3.993 [5686/5/2] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\FloatingPointMode.cpp.obj
FAILED: [code=2] lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\flang-x86_64-windows\build\lib\Support -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support -IC:\buildbot\flang-x86_64-windows\build\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\FloatingPointMode.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support\FloatingPointMode.cpp
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
4.024 [5686/4/3] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj
FAILED: [code=2] lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\flang-x86_64-windows\build\lib\Support -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support -IC:\buildbot\flang-x86_64-windows\build\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support\APFixedPoint.cpp
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
4.034 [5686/3/4] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\KnownFPClass.cpp.obj
FAILED: [code=2] lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\flang-x86_64-windows\build\lib\Support -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support -IC:\buildbot\flang-x86_64-windows\build\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\KnownFPClass.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support\KnownFPClass.cpp
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
4.175 [5686/2/5] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\StringRef.cpp.obj
FAILED: [code=2] lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\flang-x86_64-windows\build\lib\Support -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support -IC:\buildbot\flang-x86_64-windows\build\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\StringRef.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support\StringRef.cpp
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
4.330 [5686/1/6] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\APFloat.cpp.obj
FAILED: [code=2] lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\flang-x86_64-windows\build\lib\Support -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support -IC:\buildbot\flang-x86_64-windows\build\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\include -IC:\buildbot\flang-x86_64-windows\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\APFloat.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\flang-x86_64-windows\llvm-project\llvm\lib\Support\APFloat.cpp
..\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder mlir-nvidia-gcc7 running on mlir-nvidia while building clang,llvm,mlir at step 6 "build-check-mlir-build-only".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/116/builds/24371

Here is the relevant piece of the build log for the reference
Step 6 (build-check-mlir-build-only) failure: build (failure)
...
0.684 [4743/16/456] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/rewrite.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/rewrite.py
0.686 [4743/15/457] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/extras/meta.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/extras/meta.py
0.686 [4743/14/458] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/passmanager.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/passmanager.py
0.687 [4743/13/459] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/extras/types.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/extras/types.py
0.687 [4743/12/460] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/_mlir_libs/_mlirExecutionEngine.pyi -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/_mlir_libs/_mlirExecutionEngine.pyi
0.687 [4743/11/461] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/execution_engine.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/execution_engine.py
0.689 [4743/10/462] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/runtime/__init__.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/runtime/__init__.py
0.690 [4743/9/463] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/dialects/python_test.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/dialects/python_test.py
0.690 [4743/8/464] Copying python source /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/mlir/python/mlir/runtime/np_to_memref.py -> /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/tools/mlir/python_packages/mlir_core/mlir/runtime/np_to_memref.py
1.119 [4743/7/465] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/g++-7 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/lib/Support -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++1z -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/7/cassert:44:0,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support/FloatingPointMode.cpp:9:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-constexpr function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support/FloatingPointMode.cpp:9:0:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-constexpr function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.120 [4743/6/466] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/g++-7 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/lib/Support -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++1z -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/7/cassert:44:0,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support/KnownFPClass.cpp:14:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-constexpr function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/Support/KnownFPClass.h:17:0,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support/KnownFPClass.cpp:14:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-constexpr function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.165 [4743/5/467] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/bin/g++-7 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/lib/Support -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.obj/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include -I/vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++1z -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -c /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/lib/Support/ScaledNumber.cpp
In file included from /usr/include/c++/7/cassert:44:0,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /vol/worker/mlir-nvidia/mlir-nvidia-gcc7/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:21,

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-win running on as-builder-8 while building clang,llvm,mlir at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/54/builds/16520

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
[291/2864] Building CXX object unittests\Support\DynamicLibrary\CMakeFiles\SecondLib.dir\PipSqueak.cpp.obj
[292/2864] Building CXX object utils\llvm-test-mustache-spec\CMakeFiles\llvm-test-mustache-spec.dir\llvm-test-mustache-spec.cpp.obj
[293/2864] Building CXX object lib\DebugInfo\CodeView\CMakeFiles\LLVMDebugInfoCodeView.dir\MergingTypeTableBuilder.cpp.obj
[294/2864] Building CXX object lib\Telemetry\CMakeFiles\LLVMTelemetry.dir\Telemetry.cpp.obj
[295/2864] Building CXX object lib\DebugInfo\CodeView\CMakeFiles\LLVMDebugInfoCodeView.dir\SymbolDumper.cpp.obj
[296/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\json_reporter.cc.obj
[297/2864] Building CXX object lib\DebugInfo\MSF\CMakeFiles\LLVMDebugInfoMSF.dir\MSFBuilder.cpp.obj
[298/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\benchmark.cc.obj
[299/2864] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\raw_ostream.cpp.obj
[300/2864] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\lib\Support -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\lib\Support -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\include -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\lib\Support\APFixedPoint.cpp
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
[301/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\sysinfo.cc.obj
[302/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\commandlineflags.cc.obj
[303/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\benchmark_runner.cc.obj
[304/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\timers.cc.obj
[305/2864] Building CXX object lib\DebugInfo\CodeView\CMakeFiles\LLVMDebugInfoCodeView.dir\LazyRandomTypeCollection.cpp.obj
[306/2864] Building CXX object lib\DebugInfo\MSF\CMakeFiles\LLVMDebugInfoMSF.dir\MSFCommon.cpp.obj
[307/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\benchmark_name.cc.obj
[308/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\console_reporter.cc.obj
[309/2864] Building CXX object lib\DebugInfo\CodeView\CMakeFiles\LLVMDebugInfoCodeView.dir\StringsAndChecksums.cpp.obj
[310/2864] Building CXX object utils\FileCheck\CMakeFiles\FileCheck.dir\FileCheck.cpp.obj
[311/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark_main.dir\benchmark_main.cc.obj
[312/2864] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\VirtualFileSystem.cpp.obj
[313/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\counter.cc.obj
[314/2864] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\FloatingPointMode.cpp.obj
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.obj 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\lib\Support -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\lib\Support -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\include -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\FloatingPointMode.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\lib\Support\FloatingPointMode.cpp
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
[315/2864] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\ProgramStack.cpp.obj
[316/2864] Building CXX object third-party\unittest\CMakeFiles\llvm_gtest.dir\googlemock\src\gmock-all.cc.obj
[317/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\csv_reporter.cc.obj
[318/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\benchmark_register.cc.obj
[319/2864] Building CXX object third-party\unittest\CMakeFiles\llvm_gtest.dir\googletest\src\gtest-all.cc.obj
[320/2864] Building CXX object unittests\Support\DynamicLibrary\CMakeFiles\PipSqueak.dir\PipSqueak.cpp.obj
[321/2864] Building CXX object third-party\unittest\CMakeFiles\llvm_gtest_main.dir\UnitTestMain\TestMain.cpp.obj
[322/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\string_util.cc.obj
[323/2864] Building CXX object third-party\benchmark\src\CMakeFiles\benchmark.dir\statistics.cc.obj

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder hip-third-party-libs-test running on ext_buildbot_hw_05-hip-docker while building clang,llvm,mlir at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/206/builds/13145

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure)
...
[687/8464] Generating ../../../../lib/libscanbuild/resources/sorttable.js
[688/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[689/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[690/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/leading-zero-bit-count.test.dir/leading-zero-bit-count.cpp.o
[691/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[692/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/bit-population-count.test.dir/bit-population-count.cpp.o
[693/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[694/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[695/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/hip-third-party-libs-test/build/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[697/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/hip-third-party-libs-test/build/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
Step 7 (build cmake config) failure: build cmake config (failure)
...
[687/8464] Generating ../../../../lib/libscanbuild/resources/sorttable.js
[688/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[689/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[690/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/leading-zero-bit-count.test.dir/leading-zero-bit-count.cpp.o
[691/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[692/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/bit-population-count.test.dir/bit-population-count.cpp.o
[693/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[694/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[695/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/hip-third-party-libs-test/build/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[697/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/hip-third-party-libs-test/build/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder openmp-offload-sles-build-only running on rocm-worker-hw-04-sles while building clang,llvm,mlir at step 5 "compile-openmp".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/38182

Here is the relevant piece of the build log for the reference
Step 5 (compile-openmp) failure: build (failure)
...
1.098 [7047/22/682] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o
1.098 [7047/21/683] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/perf_counters.cc.o
1.098 [7047/20/684] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/leading-zero-bit-count.test.dir/leading-zero-bit-count.cpp.o
1.099 [7047/19/685] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/bit-population-count.test.dir/bit-population-count.cpp.o
1.100 [7047/18/686] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
1.104 [7047/17/687] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
1.109 [7046/17/688] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
1.109 [7046/16/689] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
1.130 [7046/15/690] Linking CXX static library lib/libbenchmark.a
1.139 [7045/15/691] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++1z -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/7/cassert:44:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-constexpr function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support/FloatingPointMode.cpp:9:0:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-constexpr function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.146 [7045/14/692] Linking CXX static library lib/libbenchmark_main.a
1.176 [7045/13/693] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++1z -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/7/cassert:44:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-constexpr function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/Support/KnownFPClass.h:17:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-constexpr function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.202 [7045/12/694] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o 
ccache /usr/bin/c++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Support -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support -Iinclude -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include -I/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++1z -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -c /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/lib/Support/APFixedPoint.cpp
In file included from /usr/include/c++/7/cassert:44:0,
                 from /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/include/llvm/ADT/StringSwitch.h:18,

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder clang-hip-vega20 running on hip-vega20-0 while building clang,llvm,mlir at step 3 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/34787

Here is the relevant piece of the build log for the reference
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[672/5427] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[673/5427] Linking CXX static library lib/libDynamicLibraryLib.a
[674/5427] Generating ../../../../lib/libscanbuild/resources/scanview.css
[675/5427] Generating ../../../../lib/libscanbuild/resources/selectable.js
[676/5427] Generating ../../../../lib/libscanbuild/resources/sorttable.js
[677/5427] Linking CXX static library lib/libbenchmark.a
[678/5427] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[679/5427] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[680/5427] Linking CXX static library lib/libbenchmark_main.a
[681/5427] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/Support -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[682/5427] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/lib/Support -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include -I/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/clang-hip-vega20/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-win running on sie-win-worker while building clang,llvm,mlir at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/30241

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
 Assembling: Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\Support\BLAKE3\blake3_avx512_x86-64_windows_msvc.asm

[172/5149] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3.c.obj
[173/5149] Building CXX object utils\TableGen\CMakeFiles\llvm-min-tblgen.dir\llvm-min-tblgen.cpp.obj
[174/5149] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_portable.c.obj
[175/5149] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_neon.c.obj
[176/5149] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\StringMatcher.cpp.obj
[177/5149] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\CASNodeSchema.cpp.obj
[178/5149] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Logging.cpp.obj
[179/5149] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.obj 
C:\bin\ccache.exe C:\PROGRA~2\MICROS~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib\Support -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\Support -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\Support\APFixedPoint.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
[180/5149] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\ActionCache.cpp.obj
[181/5149] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TGLexer.cpp.obj
[182/5149] Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_dispatch.c.obj
[183/5149] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\DatabaseFile.cpp.obj
[184/5149] Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Transport.cpp.obj
[185/5149] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\FloatingPointMode.cpp.obj
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.obj 
C:\bin\ccache.exe C:\PROGRA~2\MICROS~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib\Support -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\Support -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\FloatingPointMode.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\Support\FloatingPointMode.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
[186/5149] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TGTimer.cpp.obj
[187/5149] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\APFloat.cpp.obj
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.obj 
C:\bin\ccache.exe C:\PROGRA~2\MICROS~1\2019\BUILDT~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib\Support -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\Support -Iinclude -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include -IZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\..\third-party\siphash\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\APFloat.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\lib\Support\APFloat.cpp
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
[188/5149] Building CXX object lib\FileCheck\CMakeFiles\LLVMFileCheck.dir\FileCheck.cpp.obj
[189/5149] Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Threading.cpp.obj
[190/5149] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Error.cpp.obj
[191/5149] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\RISCVTargetDefEmitter.cpp.obj
[192/5149] Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\TableGenBackendSkeleton.cpp.obj
[193/5149] Building CXX object lib\CAS\CMakeFiles\LLVMCAS.dir\ActionCaches.cpp.obj
[194/5149] Building CXX object utils\TableGen\Basic\CMakeFiles\obj.LLVMTableGenBasic.dir\VTEmitter.cpp.obj

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder clang-x86_64-linux-abi-test running on sie-linux-worker2 while building clang,llvm,mlir at step 6 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/8/builds/26613

Here is the relevant piece of the build log for the reference
Step 6 (build-unified-tree) failure: build (failure)
...
0.998 [7322/10/201] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/RISCVTargetDefEmitter.cpp.o
1.002 [7321/10/202] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/DirectiveEmitter.cpp.o
1.003 [7320/10/203] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/IntrinsicEmitter.cpp.o
1.043 [7319/10/204] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/RuntimeLibcalls.cpp.o
1.047 [7318/10/205] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/SDNodeProperties.cpp.o
1.047 [7317/10/206] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/RuntimeLibcallsEmitter.cpp.o
1.065 [7316/10/207] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/TableGen.cpp.o
1.075 [7315/10/208] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/TargetLibraryInfoEmitter.cpp.o
1.088 [7314/10/209] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/TargetFeaturesEmitter.cpp.o
1.094 [7313/10/210] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/abi-test/build/lib/Support -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support -I/home/buildbot/buildbot-root/abi-test/build/include -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/include -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
1.096 [7313/9/211] Building CXX object utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/VTEmitter.cpp.o
1.108 [7313/8/212] Generating VCSRevision.h
1.110 [7313/7/213] Building CXX object lib/FileCheck/CMakeFiles/LLVMFileCheck.dir/FileCheck.cpp.o
1.133 [7313/6/214] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/abi-test/build/lib/Support -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support -I/home/buildbot/buildbot-root/abi-test/build/include -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/include -I/home/buildbot/buildbot-root/abi-test/llvm/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/abi-test/llvm/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/abi-test/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu running on sie-linux-worker3 while building clang,llvm,mlir at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/31174

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.020 [5387/8/1] Generating VCSRevision.h
0.727 [5387/7/2] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/9/cassert:44,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
0.746 [5387/6/3] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/9/cassert:44,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
0.746 [5387/5/4] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o 
/opt/ccache/bin/g++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -c /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/Z3Solver.cpp
In file included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Support/Z3Solver.cpp:9:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/ScopeExit.h:29:26: warning: ‘nodiscard’ attribute applied to ‘llvm::scope_exit<Callable>::scope_exit(Fp&&)’ with void return type [-Wattributes]
   29 |   [[nodiscard]] explicit scope_exit(Fp &&F)
      |                          ^~~~~~~~~~
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/ScopeExit.h:32:17: warning: ‘nodiscard’ attribute applied to ‘llvm::scope_exit<Callable>::scope_exit(llvm::scope_exit<Callable>&&)’ with void return type [-Wattributes]
   32 |   [[nodiscard]] scope_exit(scope_exit &&Rhs)
      |                 ^~~~~~~~~~
In file included from /usr/include/c++/9/cassert:44,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include/llvm/Support/SMTAPI.h:17,

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder amdgpu-offload-rhel-9-cmake-build-only running on rocm-docker-rhel-9 while building clang,llvm,mlir at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/205/builds/35216

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[687/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[688/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[689/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/bit-population-count.test.dir/bit-population-count.cpp.o
[690/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[691/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[692/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[693/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[694/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[695/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[697/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
Step 7 (build cmake config) failure: build cmake config (failure)
...
[687/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[688/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[689/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/bit-population-count.test.dir/bit-population-count.cpp.o
[690/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[691/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[692/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[693/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[694/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[695/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[697/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-rhel-9-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder amdgpu-offload-ubuntu-22-cmake-build-only running on rocm-docker-ubu-22 while building clang,llvm,mlir at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/203/builds/36431

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[687/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o
[688/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[689/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[690/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[691/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[692/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[693/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[694/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[695/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[697/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
Step 7 (build cmake config) failure: build cmake config (failure)
...
[687/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o
[688/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[689/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[690/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[691/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[692/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[693/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[694/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[695/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[697/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/home/botworker/bbot/amdgpu-offload-ubuntu-22-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder amdgpu-offload-rhel-8-cmake-build-only running on rocm-docker-rhel-8 while building clang,llvm,mlir at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/204/builds/35237

Here is the relevant piece of the build log for the reference
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
[686/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[687/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[688/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[689/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[690/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[691/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[692/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[693/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[694/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/leading-zero-bit-count.test.dir/leading-zero-bit-count.cpp.o
[695/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/8/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/8/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
[697/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/bit-population-count.test.dir/bit-population-count.cpp.o
[698/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/APFixedPoint.cpp
In file included from /usr/include/c++/8/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/StringSwitch.h:18,
Step 7 (build cmake config) failure: build cmake config (failure)
...
[686/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[687/8464] Building CXX object third-party/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[688/8464] Linking CXX shared module unittests/Support/DynamicLibrary/SecondLib.so
[689/8464] Linking CXX shared module unittests/Support/DynamicLibrary/PipSqueak.so
[690/8464] Linking CXX shared library lib/libbenchmark.so.0.0.0
[691/8464] Creating library symlink lib/libbenchmark.so.0 lib/libbenchmark.so
[692/8464] Linking CXX shared library lib/libbenchmark_main.so.0.0.0
[693/8464] Creating library symlink lib/libbenchmark_main.so.0 lib/libbenchmark_main.so
[694/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/leading-zero-bit-count.test.dir/leading-zero-bit-count.cpp.o
[695/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /usr/include/c++/8/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
[696/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /usr/include/c++/8/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/raw_ostream.h:20,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:21,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’
     assert(DefaultMode.isValid() && F32Mode.isValid());
            ~~~~~~~~~~~~~~~~~~~^~
In file included from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
[697/8464] Building CXX object tools/flang/unittests/Evaluate/CMakeFiles/bit-population-count.test.dir/bit-population-count.cpp.o
[698/8464] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o 
ccache /usr/bin/c++ -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include -I/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -c /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/lib/Support/APFixedPoint.cpp
In file included from /usr/include/c++/8/cassert:44,
                 from /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/llvm/include/llvm/ADT/StringSwitch.h:18,

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder llvm-clang-win-x-aarch64 running on as-builder-2 while building clang,llvm,mlir at step 8 "build-default".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/193/builds/14175

Here is the relevant piece of the build log for the reference
Step 8 (build-default) failure: cmake (failure)
...
4.873 [5078/66/141]Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_neon.c.obj
4.881 [5077/66/142]Building C object lib\Support\BLAKE3\CMakeFiles\LLVMSupportBlake3.dir\blake3_portable.c.obj
4.888 [5076/66/143]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Errno.cpp.obj
4.900 [5075/66/144]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\PrettyStackTrace.cpp.obj
4.909 [5074/66/145]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\VersionTuple.cpp.obj
4.919 [5073/66/146]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\xxhash.cpp.obj
4.927 [5072/66/147]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\raw_ostream_proxy.cpp.obj
4.938 [5071/66/148]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\StringMatcher.cpp.obj
4.945 [5070/66/149]Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Logging.cpp.obj
4.952 [5069/66/150]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.obj 
ccache C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-2\x-aarch64\build\lib\Support -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\lib\Support -IC:\buildbot\as-builder-2\x-aarch64\build\include -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include -IC:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\..\third-party\siphash\include -external:IC:\buildbot\fs\zlib-win32\include -external:W0 -D__OPTIMIZE__ /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Folib\Support\CMakeFiles\LLVMSupport.dir\APFixedPoint.cpp.obj /Fdlib\Support\CMakeFiles\LLVMSupport.dir\LLVMSupport.pdb /FS -c C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\lib\Support\APFixedPoint.cpp
C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(303): error C3615: constexpr function 'llvm::DenormalFPEnv::toIntValue' cannot result in a constant expression
C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(304): note: see usage of 'llvm::DenormalMode::isValid'
C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(317): error C3615: constexpr function 'llvm::DenormalFPEnv::operator ==' cannot result in a constant expression
C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: failure was caused by call of undefined function or one not declared 'constexpr'
C:\buildbot\as-builder-2\x-aarch64\llvm-project\llvm\include\llvm/ADT/FloatingPointMode.h(318): note: see usage of 'llvm::DenormalMode::operator =='
4.953 [5069/65/151]Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Transport.cpp.obj
4.954 [5069/64/152]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\DetailedRecordsBackend.cpp.obj
4.955 [5069/63/153]Building CXX object lib\Support\LSP\CMakeFiles\LLVMSupportLSP.dir\Protocol.cpp.obj
4.956 [5069/62/154]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\ProgramStack.cpp.obj
4.956 [5069/61/155]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\raw_os_ostream.cpp.obj
4.957 [5069/60/156]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Record.cpp.obj
4.958 [5069/59/157]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\StringToOffsetTable.cpp.obj
4.959 [5069/58/158]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\JSONBackend.cpp.obj
4.960 [5069/57/159]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\RWMutex.cpp.obj
4.961 [5069/56/160]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Error.cpp.obj
4.961 [5069/55/161]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\TrieRawHashMap.cpp.obj
4.962 [5069/54/162]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\YAMLTraits.cpp.obj
4.963 [5069/53/163]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Parser.cpp.obj
4.964 [5069/52/164]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\SetTheory.cpp.obj
4.965 [5069/51/165]Building CXX object lib\TableGen\CMakeFiles\LLVMTableGen.dir\Main.cpp.obj
4.966 [5069/50/166]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\YAMLParser.cpp.obj
4.966 [5069/49/167]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\VirtualOutputConfig.cpp.obj
4.967 [5069/48/168]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\VirtualOutputError.cpp.obj
4.968 [5069/47/169]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\VirtualOutputBackend.cpp.obj
4.968 [5069/46/170]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\COM.cpp.obj
4.969 [5069/45/171]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Mustache.cpp.obj
4.970 [5069/44/172]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\VirtualOutputBackends.cpp.obj
4.971 [5069/43/173]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Parallel.cpp.obj
4.972 [5069/42/174]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\Atomic.cpp.obj
4.972 [5069/41/175]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\VirtualOutputFile.cpp.obj
4.973 [5069/40/176]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\ErrorHandling.cpp.obj
4.974 [5069/39/177]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\ThreadPool.cpp.obj
4.975 [5069/38/178]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\BalancedPartitioning.cpp.obj
4.976 [5069/37/179]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\raw_socket_stream.cpp.obj
4.977 [5069/36/180]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\InitLLVM.cpp.obj
4.978 [5069/35/181]Building CXX object lib\Support\CMakeFiles\LLVMSupport.dir\CrashRecoveryContext.cpp.obj

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder clang-m68k-linux-cross running on suse-gary-m68k-cross while building clang,llvm,mlir at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/22683

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
...
  158 |   bool isValid() const {
      |        ^~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: warning: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ [-Winvalid-constexpr]
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
[88/758] Building CXX object tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o
FAILED: tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o 
/usr/bin/c++ -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/tools/extra/clangd/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/unittests -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/../include-cleaner/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/tools/extra/clangd/../clang-tidy -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/tools/clang/tools/extra/clangd -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/third-party/unittest/googletest/include -I/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/third-party/unittest/googlemock/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -O3 -DNDEBUG -std=c++17 -UNDEBUG -Wno-variadic-macros -fno-exceptions -funwind-tables -fno-rtti -Wno-suggest-override -MD -MT tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o -MF tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o.d -o tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/CodeCompleteTests.cpp.o -c /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
In file included from /usr/include/c++/14/cassert:44,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/BitmaskEnum.h:12,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:18,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include/clang/Basic/LangOptions.h:25,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/SourceCode.h:21,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/CollectMacros.h:13,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/ParsedAST.h:23,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/ASTSignals.h:12,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp:9:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr uint32_t llvm::DenormalFPEnv::toIntValue() const’:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:304:31: warning: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::isValid() const’ [-Winvalid-constexpr]
  304 |     assert(DefaultMode.isValid() && F32Mode.isValid());
      |            ~~~~~~~~~~~~~~~~~~~^~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:158:8: note: ‘bool llvm::DenormalMode::isValid() const’ declared here
  158 |   bool isValid() const {
      |        ^~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: warning: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ [-Winvalid-constexpr]
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:146:8: note: ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’ declared here
  146 |   bool operator==(DenormalMode Other) const {
      |        ^~~~~~~~
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[89/758] Building CXX object tools/clang/tools/extra/clangd/unittests/CMakeFiles/ClangdTests.dir/SemanticSelectionTests.cpp.o
In file included from /usr/include/c++/14/cassert:44,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/BitmaskEnum.h:12,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/include/llvm/ADT/FloatingPointMode.h:18,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang/include/clang/Basic/LangOptions.h:25,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/SourceCode.h:21,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/CollectMacros.h:13,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/ParsedAST.h:23,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/ASTSignals.h:12,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/CodeComplete.h:18,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/ClangdServer.h:12,
                 from /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/clang-tools-extra/clangd/unittests/SemanticSelectionTests.cpp:10:

@llvm-ci
Copy link

llvm-ci commented Feb 5, 2026

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-gcc-ubuntu-no-asserts running on doug-worker-6 while building clang,llvm,mlir at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/202/builds/5341

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
0.035 [5386/8/1] Generating VCSRevision.h
1.383 [5386/7/2] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o 
/opt/ccache/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/gcc-no-asserts/build/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/build/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o -c /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/APFixedPoint.cpp
In file included from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/APFixedPoint.cpp:15:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.559 [5386/6/3] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o 
/opt/ccache/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/gcc-no-asserts/build/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/build/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/FloatingPointMode.cpp.o -c /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/FloatingPointMode.cpp
In file included from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/FloatingPointMode.cpp:9:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.616 [5386/5/4] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o 
/opt/ccache/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/gcc-no-asserts/build/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/build/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/KnownFPClass.cpp.o -c /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/KnownFPClass.cpp
In file included from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/Support/KnownFPClass.h:17,
                 from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/KnownFPClass.cpp:14:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.625 [5386/4/5] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o 
/opt/ccache/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/gcc-no-asserts/build/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/build/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -c /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/ScaledNumber.cpp
In file included from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/ScaledNumber.cpp:14:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h:318:24: error: call to non-‘constexpr’ function ‘bool llvm::DenormalMode::operator==(llvm::DenormalMode) const’
  318 |     return DefaultMode == Other.DefaultMode && F32Mode == Other.F32Mode;
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1.670 [5386/3/6] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o
FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o 
/opt/ccache/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/buildbot/buildbot-root/gcc-no-asserts/build/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support -I/home/buildbot/buildbot-root/gcc-no-asserts/build/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include -I/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/../third-party/siphash/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o -c /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/Z3Solver.cpp
In file included from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/Z3Solver.cpp:9:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/ScopeExit.h:29:26: warning: ‘nodiscard’ attribute applied to ‘llvm::scope_exit<Callable>::scope_exit(Fp&&)’ with void return type [-Wattributes]
   29 |   [[nodiscard]] explicit scope_exit(Fp &&F)
      |                          ^~~~~~~~~~
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/ScopeExit.h:32:17: warning: ‘nodiscard’ attribute applied to ‘llvm::scope_exit<Callable>::scope_exit(llvm::scope_exit<Callable>&&)’ with void return type [-Wattributes]
   32 |   [[nodiscard]] scope_exit(scope_exit &&Rhs)
      |                 ^~~~~~~~~~
In file included from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/APFloat.h:20,
                 from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/Support/SMTAPI.h:17,
                 from /home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/lib/Support/Z3Solver.cpp:12:
/home/buildbot/buildbot-root/gcc-no-asserts/llvm-project/llvm/include/llvm/ADT/FloatingPointMode.h: In member function ‘constexpr bool llvm::DenormalFPEnv::operator==(llvm::DenormalFPEnv) const’:

Muzammiluddin-Syed-ECE added a commit to iree-org/llvm-project that referenced this pull request Feb 5, 2026
@mikaelholmen
Copy link
Collaborator

Hi @arsenm

With

clang -cc1 -S -fmath-errno -fdenormal-fp-math-f32=preserve-sign,preserve-sign -O1 -o bbi-114859.s bbi-114859.c

I get

denormal_fpenv attribute may not apply to call sites
  %sqrtf = tail call float @sqrtf(float noundef -1.000000e+00) #1
in function foo
fatal error: error in backend: Broken function found, compilation aborted!

with this patch.

bbi-114859.c.gz

@mikaelholmen
Copy link
Collaborator

I get

denormal_fpenv attribute may not apply to call sites
  %sqrtf = tail call float @sqrtf(float noundef -1.000000e+00) #1
in function foo
fatal error: error in backend: Broken function found, compilation aborted!

Instcombine seem to convert

; ModuleID = 'bbi-114859.c'
source_filename = "bbi-114859.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind denormal_fpenv(float: preservesign)
define dso_local void @foo() local_unnamed_addr #0 {
entry:
  %call = call double @sqrt(double noundef -1.000000e+00) #2, !tbaa !2
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn denormal_fpenv(float: preservesign) memory(errnomem: write)
declare double @sqrt(double noundef) local_unnamed_addr #1

attributes #0 = { nounwind denormal_fpenv(float: preservesign) "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn denormal_fpenv(float: preservesign) memory(errnomem: write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
attributes #2 = { nounwind }

!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!llvm.errno.tbaa = !{!2}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{!"clang version 23.0.0git"}
!2 = !{!3, !3, i64 0}
!3 = !{!"int", !4, i64 0}
!4 = !{!"omnipotent char", !5, i64 0}
!5 = !{!"Simple C/C++ TBAA"}

to

; ModuleID = 'bbi-114859.c'
source_filename = "bbi-114859.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind denormal_fpenv(float: preservesign)
define dso_local void @foo() local_unnamed_addr #0 {
entry:
  %sqrtf = call float @sqrtf(float noundef -1.000000e+00) #1
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn denormal_fpenv(float: preservesign) memory(errnomem: write)
declare double @sqrt(double noundef) local_unnamed_addr #1

declare float @sqrtf(float)

attributes #0 = { nounwind denormal_fpenv(float: preservesign) "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn denormal_fpenv(float: preservesign) memory(errnomem: write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-features"="+cx8,+mmx,+sse,+sse2,+x87" }

!llvm.module.flags = !{!0}
!llvm.ident = !{!1}
!llvm.errno.tbaa = !{!2}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{!"clang version 23.0.0git"}
!2 = !{!3, !3, i64 0}
!3 = !{!"int", !4, i64 0}
!4 = !{!"omnipotent char", !5, i64 0}
!5 = !{!"Simple C/C++ TBAA"}

and introduce the denormal_fpenv on the call site.

@arsenm
Copy link
Contributor Author

arsenm commented Feb 6, 2026

Have trivial patch for that

@arsenm
Copy link
Contributor Author

arsenm commented Feb 6, 2026

Fixed by #180160

@mikaelholmen
Copy link
Collaborator

Fixed by #180160

Yep, thanks!

rishabhmadan19 pushed a commit to rishabhmadan19/llvm-project that referenced this pull request Feb 9, 2026
Convert "denormal-fp-math" and "denormal-fp-math-f32" into a first
class denormal_fpenv attribute. Previously the query for the effective
denormal mode involved two string attribute queries with parsing. I'm
introducing more uses of this, so it makes sense to convert this
to a more efficient encoding. The old representation was also awkward
since it was split across two separate attributes. The new encoding
just stores the default and float modes as bitfields, largely avoiding
the need to consider if the other mode is set.

The syntax in the common cases looks like this:
  `denormal_fpenv(preservesign,preservesign)`
  `denormal_fpenv(float: preservesign,preservesign)`
  `denormal_fpenv(dynamic,dynamic float: preservesign,preservesign)`

I wasn't sure about reusing the float type name instead of adding a
new keyword. It's parsed as a type but only accepts float. I'm also
debating switching the name to subnormal to match the current
preferred IEEE terminology (also used by nofpclass and other
contexts).

This has a behavior change when using the command flag debug
options to set the denormal mode. The behavior of the flag
ignored functions with an explicit attribute set, per
the default and f32 version. Now that these are one attribute,
the flag logic can't distinguish which of the two components
were explicitly set on the function. Only one test appeared to
rely on this behavior, so I just avoided using the flags in it.

This also does not perform all the code cleanups this enables.
In particular the attributor handling could be cleaned up.

I also guessed at how to support this in MLIR. I followed
MemoryEffects as a reference; it appears bitfields are expanded
into arguments to attributes, so the representation there is
a bit uglier with the 2 2-element fields flattened into 4 arguments.
Xinlong-Chen pushed a commit to Xinlong-Chen/llvm-project that referenced this pull request Feb 12, 2026
Convert "denormal-fp-math" and "denormal-fp-math-f32" into a first
class denormal_fpenv attribute. Previously the query for the effective
denormal mode involved two string attribute queries with parsing. I'm
introducing more uses of this, so it makes sense to convert this
to a more efficient encoding. The old representation was also awkward
since it was split across two separate attributes. The new encoding
just stores the default and float modes as bitfields, largely avoiding
the need to consider if the other mode is set.

The syntax in the common cases looks like this:
  `denormal_fpenv(preservesign,preservesign)`
  `denormal_fpenv(float: preservesign,preservesign)`
  `denormal_fpenv(dynamic,dynamic float: preservesign,preservesign)`

I wasn't sure about reusing the float type name instead of adding a
new keyword. It's parsed as a type but only accepts float. I'm also
debating switching the name to subnormal to match the current
preferred IEEE terminology (also used by nofpclass and other
contexts).

This has a behavior change when using the command flag debug
options to set the denormal mode. The behavior of the flag
ignored functions with an explicit attribute set, per
the default and f32 version. Now that these are one attribute,
the flag logic can't distinguish which of the two components
were explicitly set on the function. Only one test appeared to
rely on this behavior, so I just avoided using the flags in it.

This also does not perform all the code cleanups this enables.
In particular the attributor handling could be cleaned up.

I also guessed at how to support this in MLIR. I followed
MemoryEffects as a reference; it appears bitfields are expanded
into arguments to attributes, so the representation there is
a bit uglier with the 2 2-element fields flattened into 4 arguments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:AArch64 backend:AMDGPU backend:ARM backend:NVPTX backend:PowerPC backend:X86 clang:codegen IR generation bugs: mangling, exceptions, etc. debuginfo floating-point Floating-point math llvm:adt llvm:analysis Includes value tracking, cost tables and constant folding llvm:codegen llvm:globalisel llvm:instcombine Covers the InstCombine, InstSimplify and AggressiveInstCombine passes llvm:ir llvm:support llvm:transforms mlir:llvm mlir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants