commit | 668e541eeda0155667962f0c00d9ccb8c09113b3 | [log] [tgz] |
---|---|---|
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Fri May 12 06:32:03 2017 +0000 |
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Fri May 12 06:32:03 2017 +0000 |
tree | 88b79ff5565f830607dc55ef690513d380d3ccc0 | |
parent | e43c10d2019850118e3f6aec5438343f053991ce [diff] |
Handle a COPY with undef source operand in LowerCopy() Llvm-stress discovered that a COPY may end up in ExpandPostRA::LowerCopy() with an undef source operand. It is not possible for the target to handle this, as this flag is not passed to TII->copyPhysReg(). This patch solves this by treating such a COPY as an identity COPY. Review: Matthias Braun https://reviews.llvm.org/D32892 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302877 91177308-0d34-0410-b5e6-96231b3b80d8