[llvm] [AMDGPU][NFC] Correct description (PR #112847)

Mariusz Sikora via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 00:15:37 PDT 2024


https://github.com/mariusz-sikora-at-amd created https://github.com/llvm/llvm-project/pull/112847

None

>From cf225afdca6754f4b46a2535a20b3678ed8248e3 Mon Sep 17 00:00:00 2001
From: Mariusz Sikora <mariusz.sikora at amd.com>
Date: Fri, 18 Oct 2024 03:13:22 -0400
Subject: [PATCH] [AMDGPU][NFC] Correct description

---
 llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
index 5b74022457c261..722a79be915dcb 100644
--- a/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
+++ b/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
@@ -41,9 +41,9 @@
 /// %sgpr0 = S_OR_SAVEEXEC_B64 %sgpr0  // Restore the exec mask for the Then
 ///                                    // block
 /// %exec = S_XOR_B64 %sgpr0, %exec    // Update the exec mask
-/// S_BRANCH_EXECZ label1              // Use our branch optimization
+/// S_CBRANCH_EXECZ label1             // Use our branch optimization
 ///                                    // instruction again.
-/// %vgpr0 = V_SUB_F32 %vgpr0, %vgpr   // Do the THEN block
+/// %vgpr0 = V_SUB_F32 %vgpr0, %vgpr   // Do the ELSE block
 /// label1:
 /// %exec = S_OR_B64 %exec, %sgpr0     // Re-enable saved exec mask bits
 //===----------------------------------------------------------------------===//



More information about the llvm-commits mailing list