OSDN Git Service

Update the early_inline test to explicitly add attribute for all functions. (NFC)
authorDehao Chen <dehao@google.com>
Wed, 13 Sep 2017 21:49:36 +0000 (21:49 +0000)
committerDehao Chen <dehao@google.com>
Wed, 13 Sep 2017 21:49:36 +0000 (21:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313202 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/SampleProfile/early-inline.ll

index 042713a..8b857a4 100644 (file)
@@ -30,12 +30,12 @@ define void @_Z3foov() #0 personality i8* bitcast (i32 (...)* @__gxx_personality
 }
 
 ; Function Attrs: nounwind uwtable
-define internal void @_ZL3barv() !dbg !12 {
+define internal void @_ZL3barv() #0 !dbg !12 {
   ret void
 }
 
 ; CHECK-LABEL: @recursive
-define void @recursive() !dbg !13 {
+define void @recursive() #0 !dbg !13 {
 ; Recursive calls should not be early-inlined.
 ; CHECK-NOT: call void @recursive
 ; CHECK: call void @recursive