[LLVMdev] SCCP and undef branches

Daniel Berlin dberlin at dberlin.org
Tue Jun 6 07:56:17 PDT 2006


Nick Lewycky wrote:
> I found that "undef" was disappearing early into the optimization chain.
> SCCP was the culprit, transforming:
> 
>   br bool undef, label %T, label %F
> 
> into
> 
>   br bool true, label %T, label %F
> 
> While that sounds like a great optimization, it shouldn't be happening
> that early. 

Uh, why?



More information about the llvm-dev mailing list