[llvm] c91a0a2 - [builtin][NFC] Remove ClangBuiltin<"__builtin_allow_ubsan_check"> (#87581)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 4 12:51:27 PDT 2024
Author: Vitaly Buka
Date: 2024-04-04T12:51:23-07:00
New Revision: c91a0a28908ec48f3775cdacede66163eb6339ff
URL: https://github.com/llvm/llvm-project/commit/c91a0a28908ec48f3775cdacede66163eb6339ff
DIFF: https://github.com/llvm/llvm-project/commit/c91a0a28908ec48f3775cdacede66163eb6339ff.diff
LOG: [builtin][NFC] Remove ClangBuiltin<"__builtin_allow_ubsan_check"> (#87581)
We don't need clang builtin for this one.
It was copy pasted from `__builtin_allow_runtime_check`
RFC:
https://discourse.llvm.org/t/rfc-add-llvm-experimental-hot-intrinsic-or-llvm-hot/77641
Added:
Modified:
llvm/include/llvm/IR/Intrinsics.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Intrinsics.td b/llvm/include/llvm/IR/Intrinsics.td
index c04f4c52692158..f0723a633f0fc5 100644
--- a/llvm/include/llvm/IR/Intrinsics.td
+++ b/llvm/include/llvm/IR/Intrinsics.td
@@ -1733,8 +1733,7 @@ def int_ubsantrap : Intrinsic<[], [llvm_i8_ty],
// Return true if ubsan check is allowed.
def int_allow_ubsan_check : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_i8_ty],
- [IntrInaccessibleMemOnly, IntrWriteMem, ImmArg<ArgIndex<0>>, NoUndef<RetIndex>]>,
- ClangBuiltin<"__builtin_allow_ubsan_check">;
+ [IntrInaccessibleMemOnly, IntrWriteMem, ImmArg<ArgIndex<0>>, NoUndef<RetIndex>]>;
// Return true if runtime check is allowed.
def int_allow_runtime_check : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_metadata_ty],
More information about the llvm-commits
mailing list