[llvm] [IR] Introduce `llvm.allow.{runtime, ubsan}.check()` (PR #84850)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 14:42:34 PDT 2024


https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/84850

>From 967fb9464a7f5f083a0c0953d0bbca2c5501f75c Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Mon, 11 Mar 2024 16:31:55 -0700
Subject: [PATCH 1/3] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?=
 =?UTF-8?q?anges=20to=20main=20this=20commit=20is=20based=20on?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Created using spr 1.3.4

[skip ci]
---
 llvm/docs/LangRef.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 77ec72f176d6ed..d613ceea8654f8 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -27553,7 +27553,7 @@ in example below:
 .. code-block:: text
 
     %cond = call i1 @llvm.experimental.widenable.condition()
-    br i1 %cond, label %solution_1, label %solution_2
+    br i1 %cond, label %fast_path, label %slow_path
 
   label %fast_path:
     ; Apply memory-consuming but fast solution for a task.

>From 679055efe79a97c84c8ef675d7eb450c5df58a51 Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Tue, 12 Mar 2024 12:01:01 -0700
Subject: [PATCH 2/3] Update llvm/docs/LangRef.rst

Co-authored-by: Nikita Popov <npopov at redhat.com>
---
 llvm/docs/LangRef.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 36f4c964ee296c..a707ab721a2b2a 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -27656,7 +27656,7 @@ This intrinsic returns true iff it's known that containing basic block is hot in
 profile.
 
 When used with profile based optimization allows to change program behaviour
-deppending on the code hotness.
+depending on the code hotness.
 
 Arguments:
 """"""""""

>From 4c1ae296adffc5a9f30dc5f88f78f07b8ff7e6dc Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Tue, 12 Mar 2024 17:57:47 -0700
Subject: [PATCH 3/3] undo unrelated change

Created using spr 1.3.4
---
 llvm/docs/LangRef.rst | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index ab2ec5050ea90b..939a90be279369 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -27971,8 +27971,7 @@ Lowering:
 
 In the most general case call to the '``llvm.memcpy.element.unordered.atomic.*``' is
 lowered to a call to the symbol ``__llvm_memcpy_element_unordered_atomic_*``. Where '*'
-is replaced with an actual element size. See :
-ref:`RewriteStatepointsForGC intrinsic
+is replaced with an actual element size. See :ref:`RewriteStatepointsForGC intrinsic
 lowering <RewriteStatepointsForGC_intrinsic_lowering>` for details on GC specific
 lowering.
 
@@ -28051,8 +28050,7 @@ Lowering:
 In the most general case call to the
 '``llvm.memmove.element.unordered.atomic.*``' is lowered to a call to the symbol
 ``__llvm_memmove_element_unordered_atomic_*``. Where '*' is replaced with an
-actual element size. See :
-ref:`RewriteStatepointsForGC intrinsic lowering
+actual element size. See :ref:`RewriteStatepointsForGC intrinsic lowering
 <RewriteStatepointsForGC_intrinsic_lowering>` for details on GC specific
 lowering.
 



More information about the llvm-commits mailing list