[PATCH] D37356: LiveIntervalAnalysis: Fix alias regunit reserved definition

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 14:30:05 PDT 2017


kparzysz added inline comments.


================
Comment at: lib/CodeGen/LiveIntervalAnalysis.cpp:279
       if (!MRI->reg_empty(Reg))
         LRCalc->createDeadDefs(LR, Reg);
       // A register unit is considered reserved if all its roots and all their
----------------
Should this still happen if Reg is reserved?  For reserved units, the LR will only have dead defs.  Is that the intent?


Repository:
  rL LLVM

https://reviews.llvm.org/D37356





More information about the llvm-commits mailing list