[PATCH] D94683: [Doc] Fix syntax error in CodeGenerator documentation example
Kai Nacke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 05:26:46 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9399681a57ce: [Doc] Fix example in codegen doc. (authored by Kai).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94683/new/
https://reviews.llvm.org/D94683
Files:
llvm/docs/CodeGenerator.rst
Index: llvm/docs/CodeGenerator.rst
===================================================================
--- llvm/docs/CodeGenerator.rst
+++ llvm/docs/CodeGenerator.rst
@@ -2112,7 +2112,7 @@
define fastcc i32 @tailcaller(i32 %in1, i32 %in2) {
%l1 = add i32 %in1, %in2
- %tmp = tail call fastcc i32 @tailcallee(i32 %in1 inreg, i32 %in2 inreg, i32 %in1, i32 %l1)
+ %tmp = tail call fastcc i32 @tailcallee(i32 inreg %in1, i32 inreg %in2, i32 %in1, i32 %l1)
ret i32 %tmp
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94683.317332.patch
Type: text/x-patch
Size: 493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210118/9761d7cf/attachment.bin>
More information about the llvm-commits
mailing list