similar to: Writing tests with Filecheck without emitting output to stdin

Displaying 20 results from an estimated 4000 matches similar to: "Writing tests with Filecheck without emitting output to stdin"

2018 Apr 01
0
Writing tests with Filecheck without emitting output to stdin
See: http://llvm.org/docs/CommandGuide/FileCheck.html It is not required to pipe output to FileCheck; there is the --input-file option, which allows you to run FileCheck on an existing disk file. Something like this: FileCheck %s --input-file a.rpt --check-prefix=A FileCheck %s --input-file b.rpt --check-prefix=B FileCheck %s --input-file c.rpt --check-prefix=C If there are common parts to each
2018 Mar 31
3
Writing tests with Filecheck without emitting output to stdin
That works. Thanks. One more followup question though. Once i run opt on bitcode, there is not useful output/transform on bitcode. this rpt files are extra. I am hoping to do something like this, ; RUN: FileCheck --input-file=a.rpt.gold --check-prefix=CHECK-A < a.rpt ; RUN: FileCheck --input-file=b.rpt.gold --check-prefix=CHECK-B < b.rpt i did not find much examples in tests hence
2018 Mar 31
0
Writing tests with Filecheck without emitting output to stdin
Hi Mahesh, On 31 March 2018 at 11:45, Mahesh Attarde via llvm-dev <llvm-dev at lists.llvm.org> wrote: > 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. You can run FileCheck over them on separate RUN lines assuming you know the filename (which I assume you do since you'd be
2018 Mar 31
0
Writing tests with Filecheck without emitting output to stdin
Oops. My bad. I mean to write match-file being my match pattern. and a.rpt being file generated by opt. ;RUN: FileCheck <match-file>a.rpt.gold --input-file=a.rpt. mahesh On Sat, Mar 31, 2018 at 6:57 PM, Mahesh Attarde <coder.mahesh at gmail.com> wrote: > That works. Thanks. > > One more followup question though. > Once i run opt on bitcode, there is not useful
2017 Oct 03
1
About LLVM Pass dependency
Hi Hongbin I am not quite familiar with AnalysisUsage, let me correct question a bit. I have read Writing Pass <http://llvm.org/docs/WritingAnLLVMPass.html#specifying-interactions-between-passes>, All examples that i see here are based on collecting information .i.e Analysis Passes. I wonder if this applies to Transformation passes also. e.g. void MyInliner::getAnalysisUsage(AnalysisUsage
2017 Oct 03
2
About LLVM Pass dependency
Hello I am working on pass which has dependency on multiple passes. Say D1,D2,D3 I used INITIALIZE_PASS_BEGIN INITIALIZE_PASS_DEPENDENCY(D1) INITIALIZE_PASS_DEPENDENCY(D2) INITIALIZE_PASS_DEPENDENCY(D3) INITIALIZE_PASS_END. While running it through opt tool it, I had to specify this D1,D2,D3 pass names to get this pass executed before my pass. Is there way, to let llvm pass manager to know
2018 Apr 23
2
llc tool followed by g++ : Abnormal behavior while compiling assembly to object file
Hi I am executing following steps to convert assembly to object code. llc -march=x86-64 -filetype=asm input.ll -o input.s g++ -g -c -o input.s --input.o inshort ll --> llc --> .s -->g++ -->obj original source was something like this { printf(" **** %s ****",str); } input.s turn out to be movq .str at GOTPCREL(%rip),%rdi movq .str.1 at GOTPCREL(%rip),%rsi xorl
2018 Apr 23
0
llc tool followed by g++ : Abnormal behavior while compiling assembly to object file
Hi Mahesh, On 23 April 2018 at 10:51, Mahesh Attarde via llvm-dev <llvm-dev at lists.llvm.org> wrote: > movq .str at GOTPCREL(%rip),%rdi > movq .str.1 at GOTPCREL(%rip),%rsi That's quite strange. You wouldn't normally expect to access a constant string via the GOT. It looks like LLVM has decided to put the symbols in an odd section, so it'd be a good idea to make sure
2009 Jun 23
2
Long to wide format without time variable
Hi all, I am trying to convert a data set of physician death codings (each individual's cause of death is coded by multiple physicians) from long to wide format, but the "reshape" function doesn't seem to work because it requires a "time" variable to identify the sequence among the repeated observations within individuals. My data set has no order, and different
2018 Mar 21
1
How to read String value of GlobalVariable?
Hi I have IR Code like ... @path = private constant [6xi8] c"abcde\00" ... --- Code from Pass --- GlobalVariable * GVPath = .... // contains @path I want to convert "abcde" to StringRef. Can you help me with GlobalVariable API? GlobalVariable::getInitializer() --> Constant* // How to get exact value äbcde from here? ~mahesh -------------- next part --------------
2010 Feb 25
1
sftp Batchmode command level error suppression does not work?
Hi guys - OpenSSH sftp (on solaris) >From man page Termination on error can be suppressed on a command by command basis by prefixing the command with a `-' character (for example, -rm /tmp/blah* ). This does not seem to work - instead the server seems to fail to recognize the command from the batchfile. Consider this batchfile mkdir tmp cd tmp put rpt.list bye We want to
2011 Jun 29
1
tcgetattr: Inappropriate ioctl for device
Dear nut users, I am running nut-2.6.0 on Slackware-Linux-13.37.0 with kernel 2.6.37.6. I am trying to get the software work for a repotec UPS with model name: RPT-1003AU. The UPS communicates with the computer via USB. I know that the model is not officially supported but I want to try out whether it will work with some of the repotec drivers. Here is the result with the genericups upstype=13
2003 Oct 21
2
report generator a la epiinfo
Hi I'd like to use R in epidemiology and disease surveillance. In EpiInfo you can have a script (.pgm) which calls a predefined report (.rpt), where a table is calculated and values picked from that table and placed where the author of the report wants them, with text around those values. (Please see example below.) I've looked at manuals, faq, mail-search and google. The closest is an
2012 Dec 07
4
[PATCH][git-pull] AsciiDoc-based documentation
The following changes since commit ddb10ce99c327888ade4d2ba3e4c50ad12aaa059: Matt Fleming (1): Delete 16-bit COMBOOT support are available in the git repository at: git://github.com/geneC/syslinux.git doc-elflink-for-mfleming Gene Cumm (3): txt/: Add new AsciiDoc formatted documentation Makefile: add txt/ NEWS: add txt/ Makefile | 2 +- NEWS
2003 Sep 22
1
creates directory that can't be deleted (PR#4246)
Full_Name: Xiaobao Wang Version: R 1.7.1 OS: Windows XP Submission from: (NULL) (24.45.25.102) accidentally done the following: rpt.dir <- paste("c:/report/testR","bestsub",spe="/") dir.create(rpt.dir) (spe should be sep). Now the directory "c:/report/testR bestsub " cannot be removed. I tried to remove it from Windows Explorer and got the message
2003 Nov 13
1
creating a "report" table from a set of lists
I've been trying to figure out how to accomplish the following... I've got a list (returned from a function) and I would like to "cbind()" the lists together to create a "cross tab" report or simply bind them together somehow the function returns a list that looks like the following: > all$BM $species [1] "BM" $vbar.nobs [1] 3 $vbar.sum [1] 54.05435
2003 Nov 07
2
Differents config files
Hi! I am trying to know well asterisk. For that I would like to know the exact role for each config file. Can someone tell me what is the role of the next ones or a web where I could find this information? That will be very helpful. - alsa.conf - enum.conf - modem.conf - modules.conf - oss.conf: what is oss? - parking.conf: what is parking? - rpt.conf: what is radio repeter? - queues.conf -
2013 Jan 17
2
[LLVMdev] [llvm-commits] [PATCH] A "very verbose" mode for FileCheck
On Thu, Jan 17, 2013 at 8:36 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote: > We have to options: > (a) replace 'FileCheck' with '%FileCheck' in all tests, and teach > 'lit' to replace '%FileCheck' with 'FileCheck --dump-input-on-error'; > > (b) teach 'lit' to replace a plain 'FileCheck'. > > The first approach
2013 Mar 15
3
[LLVMdev] Can the FileCheck ignore spaces ?
Hi all: I'm writing testcase for the MC layer regression in llvm, the disassembled string is a bit complicate, for example: "IALU.T0 (I0) = BIU0.DM ; REPEAT AT ( 2 ) ;;" The spaces in the disassembled string is error-prone. Is there any option to tell the FileCheck utility to ignore the spaces ? Kind Regards. Shawn.
2013 Jan 17
0
[LLVMdev] [llvm-commits] [PATCH] A "very verbose" mode for FileCheck
On Thu, Jan 17, 2013 at 7:51 PM, Sean Silva <silvas at purdue.edu> wrote: > On Thu, Jan 17, 2013 at 8:36 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote: >> We have to options: >> (a) replace 'FileCheck' with '%FileCheck' in all tests, and teach >> 'lit' to replace '%FileCheck' with 'FileCheck --dump-input-on-error';