[PATCH] D33916: RenameIndependentSubregs: Fix handling of undef tied operands

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 5 15:22:53 PDT 2017


arsenm created this revision.
Herald added subscribers: nhaehnle, wdng.

If a tied source operand was undef, it would be replaced but not
update the other tied operand, which would end up using different
virtual registers.


https://reviews.llvm.org/D33916

Files:
  lib/CodeGen/RenameIndependentSubregs.cpp
  test/CodeGen/AMDGPU/rename-independent-subregs-invalid-mac-operands.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33916.101464.patch
Type: text/x-patch
Size: 3755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170605/6a57d807/attachment.bin>


More information about the llvm-commits mailing list