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

Bill Wendling isanbard at gmail.com
Fri Oct 20 11:16:22 PDT 2006


Okay. I've submitted a patch to fix this. Cross fingers!

-bw

On 10/20/06, Chris Lattner <clattner at apple.com> wrote:
>
> >> *** 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