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

2023-09-24 Thread Carlos Eduardo Seo via cfe-commits
https://github.com/ceseo closed https://github.com/llvm/llvm-project/pull/67130 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-09-22 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/67130 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-09-22 Thread Jon Roelofs via cfe-commits
https://github.com/jroelofs resolved https://github.com/llvm/llvm-project/pull/67130 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

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

2023-09-22 Thread Jon Roelofs via cfe-commits
@@ -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: never

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

2023-09-22 Thread Jon Roelofs via cfe-commits
@@ -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 thi

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

2023-09-22 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Changes Add __builtin_bcopy to the list of GNU builtins. This was causing a series of test failures in glibc. Adjust the tests to reflect the changes in codegen. Fixes #51409. Fixes #63065. --- Full diff: https://github.com/llvm/llvm-pro

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

2023-09-22 Thread Carlos Eduardo Seo via cfe-commits
https://github.com/ceseo created https://github.com/llvm/llvm-project/pull/67130 Add __builtin_bcopy to the list of GNU builtins. This was causing a series of test failures in glibc. Adjust the tests to reflect the changes in codegen. Fixes #51409. Fixes #63065. >From af8c9b6d0757c109aa83a352