[llvm] r240221 - [SwitchLowering] Remove quadratic vector removal.

Benjamin Kramer benny.kra at gmail.com
Sat Jun 20 10:39:48 PDT 2015


> On 20.06.2015, at 19:13, Hans Wennborg <hans at chromium.org> wrote:
> 
> On Sat, Jun 20, 2015 at 8:59 AM, Benjamin Kramer
> <benny.kra at googlemail.com> wrote:
>> Author: d0k
>> Date: Sat Jun 20 10:59:34 2015
>> New Revision: 240221
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=240221&view=rev
>> Log:
>> [SwitchLowering] Remove quadratic vector removal.
> 
> I thought I had fixed this, but I now see this patch applies to
> LowerSwitch, not the DAG switch lowering. This is not confusing at all
> :-)

I still hope that we'll find a volunteer some day who reimplements the DAG switch lowering in this IR pass so we only have one copy of the code around and can remove all the workarounds SelectionDAGBuilder is using to get around the single basic block limitation ;)

The only in-tree user of the IR pass is R600^W AMDGPU.

- Ben



More information about the llvm-commits mailing list