<div dir="ltr"><div dir="ltr">Actually, it's the 'GISEL:' that's missing. Here's what you get after the patch is applied, if you add --allow-unused-prefixes=true to the FileCheck call in both RUN lines:</div><div dir="ltr"><br></div><div dir="ltr"><font face="monospace">$ build-all-Release/bin/llvm-lit llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td -a<br>-- Testing: 1 tests, 1 workers --<br>FAIL: LLVM :: TableGen/GlobalISelEmitter-immAllZeroOne.td (1 of 1)<br>******************** TEST 'LLVM :: TableGen/GlobalISelEmitter-immAllZeroOne.td' FAILED ********************<br>Script:<br>--<br>: 'RUN: at line 1';   /other/llvm-project/build-all-Release/bin/llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I /other/llvm-project/llvm/test/TableGen/../../include -I /other/llvm-project/llvm/test/TableGen/Common /other/llvm-project/llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td -o - | /other/llvm-project/build-all-Release/bin/FileCheck -check-prefixes=GISEL-NOOPT,GISEL /other/llvm-project/llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td --allow-unused-prefixes=false<br>: 'RUN: at line 2';   /other/llvm-project/build-all-Release/bin/llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=true -I /other/llvm-project/llvm/test/TableGen/../../include -I /other/llvm-project/llvm/test/TableGen/Common /other/llvm-project/llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td -o - | /other/llvm-project/build-all-Release/bin/FileCheck -check-prefixes=GISEL-OPT,GISEL /other/llvm-project/llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td --allow-unused-prefixes=false<br>--<br>Exit Code: 2<br><br>Command Output (stderr):<br>--<br>error: no check strings found with prefix 'GISEL:'<br><br>--<br><br>********************<br>********************<br>Failed Tests (1):<br>  LLVM :: TableGen/GlobalISelEmitter-immAllZeroOne.td<br><br><br>Testing Time: 0.17s<br>  Failed: 1</font><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 29, 2020 at 1:48 PM Chris Tetreault via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It seems like nothing is checking GISEL-NOOPT-NEXT and GISEL-OPT-NEXT. Perhaps this is the issue?<br>
<br>
-----Original Message-----<br>
From: llvm-dev <<a href="mailto:llvm-dev-bounces@lists.llvm.org" target="_blank">llvm-dev-bounces@lists.llvm.org</a>> On Behalf Of Paul C. Anagnostopoulos via llvm-dev<br>
Sent: Thursday, October 29, 2020 1:30 PM<br>
To: <a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
Subject: [EXT] Re: [llvm-dev] [RFC] FileCheck: (dis)allowing unused prefixes<br>
<br>
I'm not very familiar with FileCheck yet so this may be a silly question. I noticed that TableGen/GlobalISelEmitter-immAllZeroOne.td is on the list, so I checked it out. If I understand correctly, I expect GISEL-OPT and/or GISEL-NOOPT to be misspelled somewhere, but they are not. Can someone sort me out?<br>
<br>
<br>
// RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=false -I %p/../../include -I %p/Common %s -o - | FileCheck -check-prefixes=GISEL-NOOPT,GISEL %s // RUN: llvm-tblgen -gen-global-isel -warn-on-skipped-patterns -optimize-match-table=true -I %p/../../include -I %p/Common %s -o - | FileCheck -check-prefixes=GISEL-OPT,GISEL %s<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>