HomePhabricator

InstCombine: try to transform A-B < 0 into A < B

Description

InstCombine: try to transform A-B < 0 into A < B

We are allowed to move the 'B' to the right hand side if we an prove
there is no signed overflow and if the comparison itself is signed.

Details

Committed
majnemerDec 30 2014, 8:21 PM
Parents
rL225033: [llgo] Elide alloca for unused received values in select
Branches
Unknown
Tags
Unknown