[llvm] f56cdd4 - [NFC] Use named variable for test case `select-from-load.ll`

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 16:47:36 PDT 2024


Author: Shilei Tian
Date: 2024-07-16T19:46:46-04:00
New Revision: f56cdd4a45b7bbe84be5d4ba9442eb7071605efc

URL: https://github.com/llvm/llvm-project/commit/f56cdd4a45b7bbe84be5d4ba9442eb7071605efc
DIFF: https://github.com/llvm/llvm-project/commit/f56cdd4a45b7bbe84be5d4ba9442eb7071605efc.diff

LOG: [NFC] Use named variable for test case `select-from-load.ll`

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/AMDGPU/select-from-load.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/AMDGPU/select-from-load.ll b/llvm/test/Transforms/InstCombine/AMDGPU/select-from-load.ll
index d9af665e663f3..e22fd040bdc2c 100644
--- a/llvm/test/Transforms/InstCombine/AMDGPU/select-from-load.ll
+++ b/llvm/test/Transforms/InstCombine/AMDGPU/select-from-load.ll
@@ -25,8 +25,8 @@ entry:
   br label %for.cond10
 
 for.cond10:                                       ; preds = %for.cond10, %entry
-  %3 = load i64, ptr %retval.0.i
-  store i64 %3, ptr addrspace(1) null
+  %load.0 = load i64, ptr %retval.0.i
+  store i64 %load.0, ptr addrspace(1) null
   br label %for.cond10
 }
 


        


More information about the llvm-commits mailing list