[PATCH] D29850: [AArch64] Fix bug in AArch64RedundantCopyElimination removing COPYs it shouldn't.

Geoff Berry via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 10 14:28:49 PST 2017


gberry created this revision.
Herald added subscribers: rengolin, aemerson.

Don't remove COPYs with implicit defs, unless we know the implicitly
defined register is also zero.


https://reviews.llvm.org/D29850

Files:
  lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  test/CodeGen/AArch64/machine-copy-remove.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29850.88054.patch
Type: text/x-patch
Size: 3135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/04f161ff/attachment.bin>


More information about the llvm-commits mailing list