[RFC] FileCheck: (dis)allowing unused prefixes

It seems like nothing is checking GISEL-NOOPT-NEXT and GISEL-OPT-NEXT. Perhaps this is the issue?

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:

$ build-all-Release/bin/llvm-lit llvm/test/TableGen/GlobalISelEmitter-immAllZeroOne.td -a
– Testing: 1 tests, 1 workers –
FAIL: LLVM :: TableGen/GlobalISelEmitter-immAllZeroOne.td (1 of 1)
******************** TEST ‘LLVM :: TableGen/GlobalISelEmitter-immAllZeroOne.td’ FAILED ********************