https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/3] undo random change
Created using spr 1.3.4
---
clang/lib/Co
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
@@ -3464,6 +3464,34 @@ Query for this feature with
``__has_builtin(__builtin_trap)``.
``__builtin_arm_trap`` is lowered to the ``llvm.aarch64.break`` builtin, and
then to ``brk #payload``.
+``__builtin_allow_runtime_check``
AaronBallman wrote:
> It needs t
@@ -3464,6 +3464,54 @@ Query for this feature with
``__has_builtin(__builtin_trap)``.
``__builtin_arm_trap`` is lowered to the ``llvm.aarch64.break`` builtin, and
then to ``brk #payload``.
+``__builtin_allow_runtime_check``
+-
+
+``__builtin_
https://github.com/vitalybuka edited
https://github.com/llvm/llvm-project/pull/87568
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -3464,6 +3464,34 @@ Query for this feature with
``__has_builtin(__builtin_trap)``.
``__builtin_arm_trap`` is lowered to the ``llvm.aarch64.break`` builtin, and
then to ``brk #payload``.
+``__builtin_allow_runtime_check``
vitalybuka wrote:
I've started R
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
@@ -3233,6 +3233,17 @@ Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl,
unsigned BuiltinID,
if (BuiltinCountZeroBitsGeneric(*this, TheCall))
return ExprError();
break;
+
+ case Builtin::BI__builtin_allow_runtime_check: {
+Expr *Arg = TheCall->getArg(0);
+
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
@@ -3464,6 +3464,34 @@ Query for this feature with
``__has_builtin(__builtin_trap)``.
``__builtin_arm_trap`` is lowered to the ``llvm.aarch64.break`` builtin, and
then to ``brk #payload``.
+``__builtin_allow_runtime_check``
AaronBallman wrote:
The docs are
@@ -3233,6 +3233,17 @@ Sema::CheckBuiltinFunctionCall(FunctionDecl *FDecl,
unsigned BuiltinID,
if (BuiltinCountZeroBitsGeneric(*this, TheCall))
return ExprError();
break;
+
+ case Builtin::BI__builtin_allow_runtime_check: {
+Expr *Arg = TheCall->getArg(0);
+
vitalybuka wrote:
I assume clang/docs/LanguageExtensions.rst counts as
https://github.com/llvm/llvm-project/blob/main/clang/CodeOwners.rst#all-parts-of-clang-not-covered-by-someone-else
https://github.com/llvm/llvm-project/pull/87568
___
llvm-branch-c
efriedma-quic wrote:
I think it's worth re-posting the builtin as a separate RFC on Discourse, since
the original RFC hadn't settled on the exact design for the clang builtin
you're using here.
Code changes look fine.
https://github.com/llvm/llvm-project/pull/87568
___
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/87568
>From 7ca1d437690a8202cc000aa3a431c26e26b9c358 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 3 Apr 2024 15:30:10 -0700
Subject: [PATCH 1/2] undo random change
Created using spr 1.3.4
---
clang/lib/Co
vitalybuka wrote:
@MaskRay @nikic @efriedma-quic Any comments?
https://github.com/llvm/llvm-project/pull/87568
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/nikic commented:
This looks very reasonable to me, but I'm not a clang reviewer...
https://github.com/llvm/llvm-project/pull/87568
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/87568
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
23 matches
Mail list logo