[llvm] r313202 - Update the early_inline test to explicitly add attribute for all functions. (NFC)
Dehao Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 14:49:37 PDT 2017
Author: dehao
Date: Wed Sep 13 14:49:36 2017
New Revision: 313202
URL: http://llvm.org/viewvc/llvm-project?rev=313202&view=rev
Log:
Update the early_inline test to explicitly add attribute for all functions. (NFC)
Modified:
llvm/trunk/test/Transforms/SampleProfile/early-inline.ll
Modified: llvm/trunk/test/Transforms/SampleProfile/early-inline.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/SampleProfile/early-inline.ll?rev=313202&r1=313201&r2=313202&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/SampleProfile/early-inline.ll (original)
+++ llvm/trunk/test/Transforms/SampleProfile/early-inline.ll Wed Sep 13 14:49:36 2017
@@ -30,12 +30,12 @@ define void @_Z3foov() #0 personality i8
}
; 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
More information about the llvm-commits
mailing list