[PATCH] D59575: Mips: Don't create copy of nothing

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 22:08:55 PDT 2019


arsenm created this revision.
arsenm added a reviewer: atanasyan.
Herald added subscribers: jfb, arichardson, wdng, sdardis.

This was creating a copy of the register the pseudo itself was
def'ing, leaving a copy of an undefined register. I'm not sure how
the verifier is not catching this, but this avoids asserting in a
future change to RegAllocFast


https://reviews.llvm.org/D59575

Files:
  lib/Target/Mips/MipsISelLowering.cpp
  test/CodeGen/Mips/atomic.ll
  test/CodeGen/Mips/atomic64.ll
  test/CodeGen/Mips/atomicCmpSwapPW.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59575.191431.patch
Type: text/x-patch
Size: 16286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190320/4a6dfcce/attachment.bin>


More information about the llvm-commits mailing list