diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-21 05:40:15 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-21 05:40:15 +0000 |
commit | d101a72d79d910abf781e6573be0edac99061acc (patch) | |
tree | 47f91aa667808478d445026acbb72ecec0af96e7 /lib/CodeGen/ELFWriter.cpp | |
parent | f53c371983908f02678b0e12c5d18466dcc70ffd (diff) |
Fix a dagga combiner bug: avoid creating illegal constant.
Is this really a winning transformation?
fold (shl (srl x, c1), c2) -> (shl (and x, (shl -1, c1)), (sub c2, c1)) or
(srl (and x, (shl -1, c1)), (sub c1, c2))
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76535 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ELFWriter.cpp')
0 files changed, 0 insertions, 0 deletions