[clang] Cir cuda builtin vars (PR #195539)

Akimasa Watanuki via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 06:40:41 PDT 2026


================
@@ -1096,15 +1092,10 @@ emitPseudoObjectExpr(CIRGenFunction &cgf, const PseudoObjectExpr *e,
 
         // If this is the result, also evaluate the result now.
         if (ov == resultExpr) {
-          // FIXME: This doesn't really affect anything, but I cannot find a
-          // test for this, so leave an ErrorNYI here until we can find one.
-          cgf.cgm.errorNYI(e->getSourceRange(),
-                           "emitPseudoObjectExpr as result");
           if (forLValue)
             result = cgf.emitLValue(ov);
           else
-            cgf.cgm.errorNYI(e->getSourceRange(),
----------------
Men-cotton wrote:

This part is not tested. Please revert it or add tests.

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


More information about the cfe-commits mailing list