Update the early_inline test to explicitly add attribute for all functions. (NFC)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dehao Chen 2017-09-13 21:49:36 +00:00
parent 95fa5a6446
commit e8c0dd7abf

View 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