[PATCH] D127815: [test][AlwaysInline]:Correct comment and file check for always-inline.ll

Archit Saxena via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 14:26:17 PDT 2022


iamarchit123 updated this revision to Diff 437337.
iamarchit123 added a comment.

Updating D127815 <https://reviews.llvm.org/D127815>: [test][AlwaysInline]:Correct comment and file check for always-inline.ll

Enter a brief description of the changes included in this update.
The first line is used as subject, next lines as comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127815/new/

https://reviews.llvm.org/D127815

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


Index: llvm/test/Transforms/Inline/always-inline.ll
===================================================================
--- llvm/test/Transforms/Inline/always-inline.ll
+++ llvm/test/Transforms/Inline/always-inline.ll
@@ -41,7 +41,6 @@
 ;
 ; 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 @@
   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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127815.437337.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220615/2c15bddf/attachment.bin>


More information about the llvm-commits mailing list