[PATCH] D89741: [ms] [llvm-ml] Allow macro function invocations in arbitrary positions

Eric Astor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 12:12:11 PST 2020


epastor updated this revision to Diff 308447.
epastor added a comment.

Rebase on HEAD


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89741

Files:
  llvm/test/tools/llvm-ml/macro_function.test


Index: llvm/test/tools/llvm-ml/macro_function.test
===================================================================
--- llvm/test/tools/llvm-ml/macro_function.test
+++ llvm/test/tools/llvm-ml/macro_function.test
@@ -103,4 +103,14 @@
   ret
 expr_recursive_test ENDP
 
+custom_strcat MACRO arg1, arg2
+  EXITM <arg1&arg2>
+ENDM
+
+expand_as_directive_test custom_strcat(P, ROC)
+; CHECK-LABEL: expand_as_directive_test:
+
+  ret
+expand_as_directive_test ENDP
+
 end


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89741.308447.patch
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201130/17af6b85/attachment.bin>


More information about the llvm-commits mailing list