[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll

Chris Lattner clattner at apple.com
Fri Oct 20 09:40:05 PDT 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?

Ah, the problem is that "L" is the prefix for darwin, linux uses "."  
IIRC.  Try changing the greps to "jg .*LBB1_5" and "BB1_4:".

-Chris



More information about the llvm-commits mailing list