[test][AlwaysInline]:Correct comment and file check for always-inline.ll
authorarchsaxe <archsaxe@fb.com>
Mon, 20 Jun 2022 23:53:03 +0000 (16:53 -0700)
committermodimo <modimo@fb.com>
Mon, 20 Jun 2022 23:53:31 +0000 (16:53 -0700)
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

index 37e8905..b4f4baa 100644 (file)
@@ -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: