commit | 0001e56f15215ae4bc5fffb82eec5c4828b888f0 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Feb 24 02:00:40 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Feb 24 02:00:40 2009 +0000 |
tree | c14953e84d899048fdcd5828b6b2b4ecac2ccb2a | |
parent | c34fea3935dcc0cab13cfb5cb60471bd49089230 [diff] |
Fix a ValueTracking rule: RHS means operand 1, not 0. Add a simple ashr instcombine to help expose this code. And apply the fix to SelectionDAG's copy of this code too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65364 91177308-0d34-0410-b5e6-96231b3b80d8