================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits