summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SampleProfile
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-09-13 21:49:36 +0000
committerDehao Chen <dehao@google.com>2017-09-13 21:49:36 +0000
commitbe707f2930ceceb001557834b0e6940a5a81ce7b (patch)
tree0f4b28d98bfcbceb7ad72265b030cdac448e7e8e /llvm/test/Transforms/SampleProfile
parentcb1c5fc93f6c26d358fe1c4459f2e7393da72fb4 (diff)
downloadbcm5719-llvm-be707f2930ceceb001557834b0e6940a5a81ce7b.tar.gz
bcm5719-llvm-be707f2930ceceb001557834b0e6940a5a81ce7b.zip
Update the early_inline test to explicitly add attribute for all functions. (NFC)
llvm-svn: 313202
Diffstat (limited to 'llvm/test/Transforms/SampleProfile')
-rw-r--r--llvm/test/Transforms/SampleProfile/early-inline.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/SampleProfile/early-inline.ll b/llvm/test/Transforms/SampleProfile/early-inline.ll
index 042713adc75..8b857a449f0 100644
--- a/llvm/test/Transforms/SampleProfile/early-inline.ll
+++ b/llvm/test/Transforms/SampleProfile/early-inline.ll
@@ -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
OpenPOWER on IntegriCloud