[PATCH] D78657: [PowerPC] Fix the liveins for ppc-expand-isel pass

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 12:30:57 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCExpandISEL.cpp:455
+      LivePhysRegs LPR;
+      TrueBlock->clearLiveIns();
+      computeAndAddLiveIns(LPR, *TrueBlock);
----------------
Is the clearLiveIns() call necessary?  I would have thought that TrueBlock has no liveins set, since you just created it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78657





More information about the llvm-commits mailing list