From 967fb9464a7f5f083a0c0953d0bbca2c5501f75c Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 11 Mar 2024 16:31:55 -0700 Subject: [PATCH 1/6] =?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 77ec72f176d6e..d613ceea8654f 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 Date: Tue, 12 Mar 2024 12:01:01 -0700 Subject: [PATCH 2/6] Update llvm/docs/LangRef.rst Co-authored-by: Nikita Popov --- 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 36f4c964ee296..a707ab721a2b2 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 Date: Tue, 12 Mar 2024 17:57:47 -0700 Subject: [PATCH 3/6] 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 ab2ec5050ea90..939a90be27936 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 ` 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 ` for details on GC specific lowering. From ff1a904e3c0c139007c56d8d717f8435712e9b90 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Tue, 19 Mar 2024 14:45:35 -0700 Subject: [PATCH 4/6] undo random changes 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 ad19633a095c5..a811c1fd3b9ea 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -28099,8 +28099,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 ` for details on GC specific lowering. @@ -28179,8 +28178,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 ` for details on GC specific lowering. From 9a478cee91284f7f124ddbe57c4e25afebfb4da7 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Wed, 20 Mar 2024 14:20:16 -0700 Subject: [PATCH 5/6] -none Created using spr 1.3.4 --- llvm/docs/LangRef.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 9180d6fb00080..3e6871a67b38c 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -27782,8 +27782,6 @@ Arguments: A string identifying the kind of runtime check guarded by the intrinsic. The string can be used to control rules to allow checks. -None. - Semantics: """""""""" From 09b8ae7184b619519b33a588c412d5a9e27d812b Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Sun, 31 Mar 2024 21:20:28 -0700 Subject: [PATCH 6/6] rst format Created using spr 1.3.4 --- llvm/docs/LangRef.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 1aff576523eca..1d4ff5238226c 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -27875,7 +27875,9 @@ For each evaluation of a call to this intrinsic, the program must be valid and correct both if it returns ``true`` and if it returns ``false``. When used in a branch condition, it selects one of the two paths: + * `true``: Executes the UBSan check and reports any failures. + * `false`: Bypasses the check, assuming it always succeeds. Example: