[llvm-commits] [llvm] r82180 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp

Chris Lattner clattner at apple.com
Fri Sep 18 11:34:49 PDT 2009


On Sep 17, 2009, at 6:08 PM, Duncan Sands wrote:

> Hi Chris,
>
>> tolerate llvm.eh.selector.i64 on 32-bit systems and  
>> llvm.eh.selector.i32 on
>> 64-bit systems.
>
> thanks for doing this - the plugin needs it :)
>
>> +    if (Op.getValueType().getSimpleVT() < VT)
>> +      Op = DAG.getNode(ISD::ZERO_EXTEND, dl, VT, Op);
>
> The selector value is signed (negative values correspond to filters).

Ok fixed.  I didn't really do this because I care about correctness, I  
just didn't like .ll files crashing llc. :)

-Chris



More information about the llvm-commits mailing list