From 99555b7a448766554b36895ecfde2805990bc0fc Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Mon, 9 Jan 2017 19:13:38 +0000 Subject: [PATCH] [InstCombine] remove unnecessary attribute comments from test files; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291463 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/assume.ll | 9 --------- test/Transforms/InstCombine/assume2.ll | 12 ------------ 2 files changed, 21 deletions(-) diff --git a/test/Transforms/InstCombine/assume.ll b/test/Transforms/InstCombine/assume.ll index 7987aa24231..341194c0866 100644 --- a/test/Transforms/InstCombine/assume.ll +++ b/test/Transforms/InstCombine/assume.ll @@ -2,7 +2,6 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: nounwind uwtable define i32 @foo1(i32* %a) #0 { entry: %0 = load i32, i32* %a, align 4 @@ -22,7 +21,6 @@ entry: ret i32 %0 } -; Function Attrs: nounwind uwtable define i32 @foo2(i32* %a) #0 { entry: ; Same check as in @foo1, but make sure it works if the assume is first too. @@ -40,7 +38,6 @@ entry: ret i32 %0 } -; Function Attrs: nounwind declare void @llvm.assume(i1) #1 define i32 @simple(i32 %a) #1 { @@ -55,7 +52,6 @@ entry: ret i32 %a } -; Function Attrs: nounwind uwtable define i32 @can1(i1 %a, i1 %b, i1 %c) { entry: %and1 = and i1 %a, %b @@ -71,7 +67,6 @@ entry: ret i32 5 } -; Function Attrs: nounwind uwtable define i32 @can2(i1 %a, i1 %b, i1 %c) { entry: %v = or i1 %a, %b @@ -103,7 +98,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @bar2(i32 %a) #0 { entry: ; CHECK-LABEL: @bar2 @@ -118,7 +112,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @bar3(i32 %a, i1 %x, i1 %y) #0 { entry: %and1 = and i32 %a, 3 @@ -139,7 +132,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @bar4(i32 %a, i32 %b) { entry: %and1 = and i32 %b, 3 @@ -172,7 +164,6 @@ entry: } -; Function Attrs: nounwind uwtable define i32 @icmp2(i32 %a) #0 { entry: %cmp = icmp sgt i32 %a, 5 diff --git a/test/Transforms/InstCombine/assume2.ll b/test/Transforms/InstCombine/assume2.ll index c41bbaa04eb..b6c9e05eefd 100644 --- a/test/Transforms/InstCombine/assume2.ll +++ b/test/Transforms/InstCombine/assume2.ll @@ -2,10 +2,8 @@ target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: nounwind declare void @llvm.assume(i1) #1 -; Function Attrs: nounwind uwtable define i32 @test1(i32 %a) #0 { entry: ; CHECK-LABEL: @test1 @@ -20,7 +18,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test2(i32 %a) #0 { entry: ; CHECK-LABEL: @test2 @@ -36,7 +33,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test3(i32 %a) #0 { entry: ; CHECK-LABEL: @test3 @@ -51,7 +47,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test4(i32 %a) #0 { entry: ; CHECK-LABEL: @test4 @@ -67,7 +62,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test5(i32 %a) #0 { entry: ; CHECK-LABEL: @test5 @@ -82,7 +76,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test6(i32 %a) #0 { entry: ; CHECK-LABEL: @test6 @@ -97,7 +90,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test7(i32 %a) #0 { entry: ; CHECK-LABEL: @test7 @@ -112,7 +104,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test8(i32 %a) #0 { entry: ; CHECK-LABEL: @test8 @@ -127,7 +118,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test9(i32 %a) #0 { entry: ; CHECK-LABEL: @test9 @@ -141,7 +131,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test10(i32 %a) #0 { entry: ; CHECK-LABEL: @test10 @@ -155,7 +144,6 @@ entry: ret i32 %and1 } -; Function Attrs: nounwind uwtable define i32 @test11(i32 %a) #0 { entry: ; CHECK-LABEL: @test11 -- 2.49.0