[llvm] [AMDGPU][NFC] Fix typo "store" -> "load" in comment for AMDGPUTLI::performLoadCombine (PR #147298)

Fabian Ritter via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 06:40:02 PDT 2025


https://github.com/ritter-x2a created https://github.com/llvm/llvm-project/pull/147298

None

>From ac470ec709234a4c342753048200149166293f80 Mon Sep 17 00:00:00 2001
From: Fabian Ritter <fabian.ritter at amd.com>
Date: Mon, 7 Jul 2025 09:32:42 -0400
Subject: [PATCH] [AMDGPU][NFC] Fix typo "store" -> "load" in comment for
 AMDGPUTLI::performLoadCombine

---
 llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
index d75c7a178b4a8..c4a917d93cba1 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@ -3853,7 +3853,7 @@ bool AMDGPUTargetLowering::shouldCombineMemoryType(EVT VT) const {
   return true;
 }
 
-// Replace load of an illegal type with a store of a bitcast to a friendlier
+// Replace load of an illegal type with a bitcast from a load of a friendlier
 // type.
 SDValue AMDGPUTargetLowering::performLoadCombine(SDNode *N,
                                                  DAGCombinerInfo &DCI) const {



More information about the llvm-commits mailing list