[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
Tue Jun 14 18:24:05 PDT 2022
iamarchit123 created this revision.
Herald added a project: All.
iamarchit123 added a reviewer: modimo.
iamarchit123 added a comment.
iamarchit123 published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
upgrade to commit
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.
Repository:
rG LLVM Github Monorepo
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.436988.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220615/3362f8b6/attachment.bin>
More information about the llvm-commits
mailing list