[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll
Bill Wendling
isanbard at gmail.com
Fri Oct 20 00:15:26 PDT 2006
On Oct 19, 2006, at 11:56 PM, Reid Spencer wrote:
> Bill,
>
> After updating to the head, this test case is failing for me on Linux.
>
>> --- llvm/test/Regression/CodeGen/X86/2006-10-19-
>> SwitchUnnecessaryBranching.ll Thu Oct 19 18:21:59 2006
>> ***************
>> *** 0 ****
>> --- 1,27 ----
>> + ; RUN: llvm-as < %s | llc -march=x86 | %prcontext "jg LBB1_5" 1
>> | grep "LBB1_4:"
>
> Are you sure that "grep" is right?
>
Dang. I was afraid of this. I'd like a way to match something like
this (in Perl):
$line !~ /jmp\s+([:alpha:][:alnum:]*)[^\n]*\n+$1:/;
Does anyone know of a way I can do this with grep, awk, sed,
prcontext, or ??? Are we allowed to use Perl in the testcases?
-bw
More information about the llvm-commits
mailing list