On Jun 27, 2007, at 5:52 PM, Chris Lattner wrote:

>> If a condition is not inside a loop then the condition is suitable
>> to loop unswitch candidate for the loop.
>
> I don't understand, why reject unswitching on these values?
>
> cases like this should be unswitched:
>
> int foo(int arg) {
>   for (..)
>     if (arg)
>       ...
> }

hmm.. no good reason. Let me double check.
-
Devang
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to