[PATCH] [BUG] Fix regression in the instruction combiner after r214385

David Majnemer david.majnemer at gmail.com
Mon Aug 25 00:23:23 PDT 2014


Choosing a single canonical form allows LLVM to reduce complexity in other areas.

Otherwise, other parts of LLVM would have to deal with two cases: normal `add` and sub with an operand which is always negative.

http://reviews.llvm.org/D5007






More information about the llvm-commits mailing list