commit | 4bfcf2a2a64785f3f0f0dd8fa6f4052d6cd7c08c | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Mar 05 19:32:48 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Mar 05 19:32:48 2009 +0000 |
tree | e6efb093f9ff49415dc3f25dde1d398dd6a44fb4 | |
parent | 8733db351a115a6f269e8814df2804f1b2172362 [diff] |
Fix the "test" optimization to recognize "dec" as an add of negative one, as subtracts of immediates are canonicalized to adds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66180 91177308-0d34-0410-b5e6-96231b3b80d8