[llvm-commits] [llvm] r121905 - in /llvm/trunk: lib/Transforms/InstCombine/InstCombineCompares.cpp test/Transforms/InstCombine/overflow.ll

Duncan Sands baldrick at free.fr
Thu Dec 16 04:47:52 PST 2010


Hi Owen,

>> Add an InstCombine transform to recognize instances of manual overflow-safe addition
>> (performing the addition in a wider type and explicitly checking for overflow), and
>> fold them down to intrinsics.  This currently only supports signed-addition, but could
>> be generalized if someone works out the magic constant formulas for other operations.
>>
>> Fixes<rdar://problem/8558713>.
>
> I've speculatively reverted this because it seems to have broken the dragonegg
> self-host builder, see below.

reverting your patch fixed the dragonegg self-host build.

Ciao, Duncan.



More information about the llvm-commits mailing list