From 523adafbd2525ab1f6ef4e0c4ef681b125acea88 Mon Sep 17 00:00:00 2001 From: archsaxe Date: Mon, 20 Jun 2022 16:53:03 -0700 Subject: [PATCH] [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 --- llvm/test/Transforms/Inline/always-inline.ll | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 2.7.4