[llvm] 8c42da5 - [InstCombine] Regenerate opaque-ptr.ll test checks

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 13:21:23 PST 2022


Author: Simon Pilgrim
Date: 2022-12-05T21:19:42Z
New Revision: 8c42da536cc421eb68a9d20722b2f444f1c166eb

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

LOG: [InstCombine] Regenerate opaque-ptr.ll test checks

Fixes superfluous diffs identified in D139253

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/opaque-ptr.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/opaque-ptr.ll b/llvm/test/Transforms/InstCombine/opaque-ptr.ll
index f6202ef7e7a7..2bfbeb534e2e 100644
--- a/llvm/test/Transforms/InstCombine/opaque-ptr.ll
+++ b/llvm/test/Transforms/InstCombine/opaque-ptr.ll
@@ -96,8 +96,8 @@ define ptr addrspace(1) @gep_constexpr_3(ptr %a) {
 
 define ptr @load_bitcast_1(ptr %a) {
 ; CHECK-LABEL: @load_bitcast_1(
-; CHECK-NEXT:    [[B1:%.*]] = load ptr, ptr [[A:%.*]], align 8
-; CHECK-NEXT:    ret ptr [[B1]]
+; CHECK-NEXT:    [[B:%.*]] = load ptr, ptr [[A:%.*]], align 8
+; CHECK-NEXT:    ret ptr [[B]]
 ;
   %b = load ptr, ptr %a
   ret ptr %b
@@ -105,8 +105,8 @@ define ptr @load_bitcast_1(ptr %a) {
 
 define ptr @load_bitcast_2(ptr %a) {
 ; CHECK-LABEL: @load_bitcast_2(
-; CHECK-NEXT:    [[C1:%.*]] = load ptr, ptr [[A:%.*]], align 8
-; CHECK-NEXT:    ret ptr [[C1]]
+; CHECK-NEXT:    [[C:%.*]] = load ptr, ptr [[A:%.*]], align 8
+; CHECK-NEXT:    ret ptr [[C]]
 ;
   %c = load ptr, ptr %a
   ret ptr %c


        


More information about the llvm-commits mailing list