[llvm] b2e98c1 - [AMDGPU] Fix comment in SIOptimizeExecMaskingPreRA
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 7 03:08:13 PDT 2023
Author: Jay Foad
Date: 2023-04-07T11:07:50+01:00
New Revision: b2e98c18cc8abf2c1cc6a7f85c8708550cc8fd28
URL: https://github.com/llvm/llvm-project/commit/b2e98c18cc8abf2c1cc6a7f85c8708550cc8fd28
DIFF: https://github.com/llvm/llvm-project/commit/b2e98c18cc8abf2c1cc6a7f85c8708550cc8fd28.diff
LOG: [AMDGPU] Fix comment in SIOptimizeExecMaskingPreRA
Added:
Modified:
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp b/llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
index 1cdd2ae2204e9..bffbf9d584eab 100644
--- a/llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
+++ b/llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
@@ -106,7 +106,7 @@ static bool isDefBetween(const SIRegisterInfo &TRI,
// Optimize sequence
// %sel = V_CNDMASK_B32_e64 0, 1, %cc
-// %cmp = V_CMP_NE_U32 1, %1
+// %cmp = V_CMP_NE_U32 1, %sel
// $vcc = S_AND_B64 $exec, %cmp
// S_CBRANCH_VCC[N]Z
// =>
More information about the llvm-commits
mailing list