[Mlir-commits] [clang] [llvm] [mlir] [IR][CodeGen] Replace constrained FP intrinsics with fp.control/fp.except operand bundles (PR #191613)

Jason Eckhardt llvmlistbot at llvm.org
Sun Apr 12 13:11:51 PDT 2026


================
@@ -1517,10 +1531,12 @@ bool EarlyCSE::processNode(DomTreeNode *Node) {
 
     // If this is a simple instruction that we can value number, process it.
     if (SimpleValue::canHandle(&Inst)) {
-      if ([[maybe_unused]] auto *CI = dyn_cast<ConstrainedFPIntrinsic>(&Inst)) {
+      if ([[maybe_unused]] auto *CI = dyn_cast<IntrinsicInst>(&Inst);
+          CI && Intrinsic::isConstrainedFPIntrinsic(CI->getIntrinsicID())) {
----------------
nvjle wrote:

Can `[[maybe_unused]]` now be removed?

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


More information about the Mlir-commits mailing list