[llvm] 523adaf - [test][AlwaysInline]:Correct comment and file check for always-inline.ll

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 16:53:45 PDT 2022


Author: archsaxe
Date: 2022-06-20T16:53:31-07:00
New Revision: 523adafbd2525ab1f6ef4e0c4ef681b125acea88

URL: https://github.com/llvm/llvm-project/commit/523adafbd2525ab1f6ef4e0c4ef681b125acea88
DIFF: https://github.com/llvm/llvm-project/commit/523adafbd2525ab1f6ef4e0c4ef681b125acea88.diff

LOG: [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

Added: 
    

Modified: 
    llvm/test/Transforms/Inline/always-inline.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Inline/always-inline.ll b/llvm/test/Transforms/Inline/always-inline.ll
index 37e890532375c..b4f4baa598742 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:


        


More information about the llvm-commits mailing list