[PATCH] D153640: Summary:add a test
YAMAMOTO Takashi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 23 08:56:36 PDT 2023
yamt created this revision.
Herald added a project: All.
yamt requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153640
Files:
llvm/test/Bindings/llvm-c/echo.ll
Index: llvm/test/Bindings/llvm-c/echo.ll
===================================================================
--- llvm/test/Bindings/llvm-c/echo.ll
+++ llvm/test/Bindings/llvm-c/echo.ll
@@ -98,6 +98,16 @@
ret i32 %1
}
+define i32 @tailcall() {
+ %1 = tail call i32 @call()
+ ret i32 %1
+}
+
+define i32 @musttailcall() {
+ %1 = musttail call i32 @call()
+ ret i32 %1
+}
+
define i32 @cond(i32 %a, i32 %b) {
br label %br
unreachable:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153640.533978.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230623/15673881/attachment.bin>
More information about the llvm-commits
mailing list