[llvm-commits] [llvm] r156985 - in /llvm/trunk/lib/CodeGen/SelectionDAG: SelectionDAGBuilder.cpp SelectionDAGBuilder.h

Stepan Dyatkovskiy stpworld at narod.ru
Thu May 17 02:49:26 PDT 2012


Hello, Anton. Not it wasn't. It was commited for post-commit review. I 
tested it with test-suite on ubuntu x86-64 and on ubuntu i386 and 
committed then. I also hope that you can find time and review it.

 >> -      CC = ISD::SETLE;
 >> +      CC = ISD::SETCC_INVALID;
 >>        LHS = I->Low; MHS = SV; RHS = I->High;
If I'm get right, when MHS is not null CC doesn't matter since we need 
to insert two comparisons LHS <= MHS and MHS <= RHS 
(SelectionDAGBuilder::visitSwitchCase method), and CC parameter is not 
used here.

-Stepan.



More information about the llvm-commits mailing list