[llvm] 0c087a6 - Remove redundent types in pr49185.ll

Ta-Wei Tu via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 12:44:38 PST 2021


Author: Ta-Wei Tu
Date: 2021-02-19T04:44:27+08:00
New Revision: 0c087a6c85694eb258a81b429f6e4fc1ac7976de

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

LOG: Remove redundent types in pr49185.ll

Added: 
    

Modified: 
    llvm/test/Transforms/Util/pr49185.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Util/pr49185.ll b/llvm/test/Transforms/Util/pr49185.ll
index 7a07e2589bda..402835340a76 100644
--- a/llvm/test/Transforms/Util/pr49185.ll
+++ b/llvm/test/Transforms/Util/pr49185.ll
@@ -1,10 +1,7 @@
 ; REQUIRES: asserts
 ; RUN: opt -S -passes='default<O3>' %s
 %struct0 = type { i64, i64, i32, i64, i32 }
-%struct1 = type { i32 }
 %union0 = type { i32 }
-%union1 = type { i16 }
-%union2 = type { i32 }
 
 @g_6 = external dso_local global i32, align 1
 @g_60 = external dso_local global i16, align 1
@@ -79,13 +76,10 @@ cleanup3402:                                      ; preds = %cleanup3097
 }
 
 ; Function Attrs: nofree nosync nounwind willreturn
-declare void @llvm.assume(i1 noundef) #4
+declare void @llvm.assume(i1 noundef) #1
 
 attributes #0 = { "use-soft-float"="false" }
-attributes #1 = { argmemonly nofree nosync nounwind willreturn }
-attributes #2 = { noinline }
-attributes #3 = { argmemonly nofree nosync nounwind willreturn writeonly }
-attributes #4 = { nofree nosync nounwind willreturn }
+attributes #1 = { nofree nosync nounwind willreturn }
 
 !llvm.ident = !{!0}
 


        


More information about the llvm-commits mailing list