[PATCH] D62653: [Mips][DSP] Fix physregs incorrectly marked as dead.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 27 15:37:20 PDT 2019


efriedma added a comment.

> Machine verifier would fail if only RDDSP was used without some other instruction previously defining a register

If you're going to allow calling llvm.mips.rddsp without some other instruction defining the register, you need to mark the registers live-in to the function.  Marking them "undef" means you aren't using the value in the register, which could cause issues later.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62653/new/

https://reviews.llvm.org/D62653





More information about the llvm-commits mailing list