]> granicus.if.org Git - llvm/commit
[MIR] Change test case to read from stdin instead of file
authorMikael Holmen <mikael.holmen@ericsson.com>
Fri, 6 Sep 2019 06:55:54 +0000 (06:55 +0000)
committerMikael Holmen <mikael.holmen@ericsson.com>
Fri, 6 Sep 2019 06:55:54 +0000 (06:55 +0000)
commit21b2648d3b6041563e8fdb9116088814667e8adf
treedbf68a8ec65424ad0f6fefa5f4cbae4aaeda4551
parentef70738d01eec9775ac8f1f9c32a5d39ead79693
[MIR] Change test case to read from stdin instead of file

The

    ;CHECK: bb
    ;CHECK-NEXT: %namedVReg1353:_(p0) = COPY $d0

parts of the test case failed when the tests were placed in a directory
including "bb" in the path, since the full path of the file is then
output in the
 ; ModuleID = '/repo/bb/
line which the CHECK matched on and then the CHECK-NEXT failed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371171 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/MIR/AArch64/mirnamer.mir