[clang] [Clang][CodeGen] Add __builtin_bcopy (PR #67130)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 22 09:35:07 PDT 2023


================
@@ -3703,6 +3703,20 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
     Builder.CreateMemSet(Dest, Builder.getInt8(0), SizeVal, false);
     return RValue::get(nullptr);
   }
+
+  case Builtin::BIbcopy:
----------------
jroelofs wrote:

Is this the same as the body of `case Builtin::BImemmove:`?

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


More information about the cfe-commits mailing list