[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
Devang Patel
dpatel at apple.com
Wed Jun 27 17:54:50 PDT 2007
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
More information about the llvm-commits
mailing list