[PATCH] D35985: Skip live range segment verification for reserved physregs

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 14:06:32 PDT 2019


arsenm added inline comments.


================
Comment at: lib/CodeGen/RegisterCoalescer.cpp:1881-1882
 
+  for (MCRegUnitIterator UI(DstReg, TRI); UI.isValid(); ++UI)
+    LIS->removeRegUnit(*UI);
+
----------------
This is the same as LIS::removeAllRegUnitsForPhysReg I recently added.

Can you assert all the regunits here are reserved?


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

https://reviews.llvm.org/D35985





More information about the llvm-commits mailing list