commit | cd89d4d52443728ecbda9554bd3095324bd29162 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat May 21 18:31:42 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat May 21 18:31:42 2011 +0000 |
tree | f6c1a15afb55fec6d4ad6b411bf87e900116ee04 | |
parent | 81f3830f2ed0b26e8bd7ae62e127db427f9f350d [diff] |
Revert "InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.overflow(X, X)" It's better to do this in codegen, mul.with.overflow(X, 2) is more canonical because it has only one use on "X". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131798 91177308-0d34-0410-b5e6-96231b3b80d8