[clang] [CIR] Upstream support for logical not operations (PR #133966)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 3 11:52:31 PDT 2025


================
@@ -1320,7 +1322,7 @@ mlir::Value ScalarExprEmitter::VisitCastExpr(CastExpr *ce) {
                                      "fixed point casts");
       return {};
     }
-    cgf.getCIRGenModule().errorNYI(subExpr->getSourceRange(), "fp options");
+    assert(!cir::MissingFeatures::cgFPOptionsRAII());
----------------
andykaylor wrote:

It only looks unrelated. The test case goes through this code path and with the `errorNYI` call here the test returned an error code and so failed.

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


More information about the cfe-commits mailing list