commit | 6b89c9016c5f8e54d8531dc7871a28886728351d | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Wed Aug 10 16:51:14 2016 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Wed Aug 10 16:51:14 2016 +0000 |
tree | 76de4d794839ccb9d146978cc61e21168e9fd6d2 | |
parent | 3b54bd170172e115aae91006d126540da5996851 [diff] |
GlobalISel: avoid inserting redundant COPYs for bitcasts. If the value produced by the bitcast hasn't been referenced yet, we can simply reuse the input register avoiding an unnecessary COPY instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278245 91177308-0d34-0410-b5e6-96231b3b80d8