[llvm-dev] Writing tests with Filecheck without emitting output to stdin

Mahesh Attarde via llvm-dev llvm-dev at lists.llvm.org
Sat Mar 31 03:45:06 PDT 2018


Hello
 I have pass operating on  bitcode file which produces more than one
equivalent representation.

opt --my-pass <%s | Filecheck  %s

--my-pass generates  files a.rpt b.rpt c.rpt . How do i write test without
writing all 3 files to stdin.

I have considered CHECK-LABEL for each. it creates bulky checks.


Thanks
Mahesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180331/284e9e19/attachment.html>


More information about the llvm-dev mailing list