[llvm] ebfd09d - Fix test expected result [NFC]

via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 13:37:00 PST 2023


Author: Nuno Lopes
Date: 2023-01-23T21:36:56Z
New Revision: ebfd09dbd4f04fcdc4f1c6733f28e8f0fc8da863

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

LOG: Fix test expected result [NFC]

For some reason, it only fails on some buildbots, but not in all, and not on my computer..

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/loadstore-metadata.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/loadstore-metadata.ll b/llvm/test/Transforms/InstCombine/loadstore-metadata.ll
index e7ad7600a3f5f..52365716389a4 100644
--- a/llvm/test/Transforms/InstCombine/loadstore-metadata.ll
+++ b/llvm/test/Transforms/InstCombine/loadstore-metadata.ll
@@ -151,7 +151,7 @@ exit:
 define void @test_load_cast_combine_nonnull(ptr %ptr) {
 ; CHECK-LABEL: @test_load_cast_combine_nonnull(
 ; CHECK-NEXT:  entry:
-; CHECK-NEXT:    [[P:%.*]] = load ptr, ptr [[PTR:%.*]], align 8, !nonnull !6
+; CHECK-NEXT:    [[P:%.*]] = load ptr, ptr [[PTR:%.*]], align 8, !nonnull !{}
 ; CHECK-NEXT:    [[GEP:%.*]] = getelementptr ptr, ptr [[PTR]], i64 42
 ; CHECK-NEXT:    store ptr [[P]], ptr [[GEP]], align 8
 ; CHECK-NEXT:    ret void
@@ -165,7 +165,7 @@ entry:
 
 define i32 @test_load_cast_combine_noundef(ptr %ptr) {
 ; CHECK-LABEL: @test_load_cast_combine_noundef(
-; CHECK-NEXT:    [[L1:%.*]] = load i32, ptr [[PTR:%.*]], align 4, !noundef !6
+; CHECK-NEXT:    [[L1:%.*]] = load i32, ptr [[PTR:%.*]], align 4, !noundef !{}
 ; CHECK-NEXT:    ret i32 [[L1]]
 ;
   %l = load float, ptr %ptr, !noundef !{}


        


More information about the llvm-commits mailing list