[clang] [CIR] Add math and builtin intrinsics support (PR #175233)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 29 12:51:52 PST 2026
================
@@ -1605,8 +1735,9 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl &gd, unsigned builtinID,
case Builtin::BImove:
case Builtin::BImove_if_noexcept:
case Builtin::BIforward:
- case Builtin::BIforward_like:
case Builtin::BIas_const:
+ return RValue::get(emitLValue(e->getArg(0)).getPointer());
----------------
andykaylor wrote:
This should probably also be in a separate PR. It's a trivial change, but it doesn't appear to be tested.
https://github.com/llvm/llvm-project/pull/175233
More information about the cfe-commits
mailing list