[clang] [clang] Add __builtin_start_object_lifetime builtin. (PR #82776)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 03:29:45 PDT 2024


================
@@ -4386,6 +4386,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
 
     return RValue::get(nullptr);
   }
+  case Builtin::BI__builtin_start_object_lifetime:
   case Builtin::BI__builtin_launder: {
----------------
hokein wrote:

I think the name is fine, we're in the CodeGen, and the BuiltinLaunder in `TypeRequiresBuiltinLaunder` means the LLVM IR `llvm.launder` [intrinsics](https://llvm.org/docs/LangRef.html#llvm-launder-invariant-group-intrinsic).

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


More information about the cfe-commits mailing list