[llvm] 210769f - fix test function attribute [NFC]

Nuno Lopes via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 01:42:54 PDT 2022


Author: Nuno Lopes
Date: 2022-07-29T09:42:44+01:00
New Revision: 210769f773ea0b9ba5111f47856ebda9d904488b

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

LOG: fix test function attribute [NFC]

Added: 
    

Modified: 
    llvm/test/Transforms/InstCombine/alloc-realloc-free.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll b/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll
index 0ad287be131c6..2031a2934925f 100644
--- a/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll
+++ b/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll
@@ -13,7 +13,7 @@ define dso_local void @test() local_unnamed_addr #0 {
 
 declare dso_local noalias noundef i8* @malloc(i64 noundef) local_unnamed_addr #1
 declare dso_local noalias noundef i8* @realloc(i8* nocapture allocptr, i64 noundef) local_unnamed_addr #2
-declare dso_local void @free(i8* nocapture allocptr noundef) local_unnamed_addr #2
+declare dso_local void @free(i8* nocapture allocptr noundef) local_unnamed_addr #3
 declare void @llvm.dbg.value(metadata, metadata, metadata) #3
 
 attributes #0 = { mustprogress nounwind uwtable willreturn }


        


More information about the llvm-commits mailing list