[PATCH] Remove dead code from LoopUnswitch

Chris Lattner clattner at apple.com
Sun Nov 10 23:08:32 PST 2013


On Nov 8, 2013, at 12:03 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> ----- Original Message -----
>> ----- Original Message -----
>>> 
>>> On Oct 26, 2013, at 11:09 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>>> 
>>>> Chris, et al.,
>>>> 
>>>> LoopUnswitch's code simplification routine has code to convert
>>>> conditional to unconditional branches, after unswitching makes
>>>> the
>>>> condition constant, and then remove any blocks that renders dead.
>>>> Unfortunately, this code is dead, currently broken, and
>>>> furthermore, has never been alive (at least as far back at 2006).
>>>> I propose that, at least for now, we nuke it.
> 
> Dead code removal committed in r194277. Chris approved (in person).

Thanks Hal!

-Chris



More information about the llvm-commits mailing list