diff options
author | Dan Gohman <gohman@apple.com> | 2009-03-05 19:32:48 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-03-05 19:32:48 +0000 |
commit | 4bfcf2a2a64785f3f0f0dd8fa6f4052d6cd7c08c (patch) | |
tree | e6efb093f9ff49415dc3f25dde1d398dd6a44fb4 /lib/Transforms/Utils/PromoteMemoryToRegister.cpp | |
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
Diffstat (limited to 'lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions