From: archsaxe Date: Mon, 20 Jun 2022 23:53:03 +0000 (-0700) Subject: [test][AlwaysInline]:Correct comment and file check for always-inline.ll X-Git-Tag: upstream/15.0.7~4099 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=523adafbd2525ab1f6ef4e0c4ef681b125acea88;p=platform%2Fupstream%2Fllvm.git [test][AlwaysInline]:Correct comment and file check for always-inline.ll This fixes a useless filecheck and wrong comment for always-inline.ll. Testing has been done using ninja check-llvm and llvm-lit always-inline.ll --show-all. Reviewed By: modimo, hoy Differential Revision: https://reviews.llvm.org/D127815 --- diff --git a/llvm/test/Transforms/Inline/always-inline.ll b/llvm/test/Transforms/Inline/always-inline.ll index 37e8905..b4f4baa 100644 --- a/llvm/test/Transforms/Inline/always-inline.ll +++ b/llvm/test/Transforms/Inline/always-inline.ll @@ -41,7 +41,6 @@ define void @outer2(i32 %N) { ; ; CHECK-LABEL: @outer2( ; CHECK-NOT: call void @inner2 -; CHECK-NOT: call void @inner2 ; CHECK: ret void call void @inner2( i32 %N ) @@ -112,7 +111,7 @@ define i32 @outer5(i32 %x) { ret i32 %call } -; We alwaysinline a function that call itself recursively. +; We never inline a function that calls itself recursively. define internal void @inner6(i32 %x) alwaysinline { ; CHECK-LABEL: @inner6( entry: