commit | 0e488b3d1c9293bbf2d64d0ecc4d6339f9100351 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Feb 22 22:43:23 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Feb 22 22:43:23 2010 +0000 |
tree | 9d3893eb6a32ae3b37608348ef4e433aefee996c | |
parent | 418b5683363bade8a6f924f753fa76d8c752be2c [diff] |
Canonicalize ConstantInts to the right operand of commutative operators. The test difference is just due to the multiplication operands being commuted (and thus requiring a more elaborate match). In optimized code, that expression would be folded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96816 91177308-0d34-0410-b5e6-96231b3b80d8