[PATCH] D90965: [IfCvt] Don't use pristine register for counting liveins for predicated instructions.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 02:28:13 PST 2020


dmgreen added inline comments.


================
Comment at: llvm/lib/CodeGen/IfConversion.cpp:1518
     if (LiveBeforeMI.count(Reg))
       MIB.addReg(Reg, RegState::Implicit);
     else {
----------------
This is what is really being fixed here, with the Reg being counted as live when it should not be.


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

https://reviews.llvm.org/D90965



More information about the llvm-commits mailing list