[PATCH] D63934: [MIR] Improve PRE condition of MachineCSE optimization

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 15:03:37 PDT 2019


asbirlea added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineCSE.cpp:824
     auto CMBB = DT->findNearestCommonDominator(MBB, MBB1);
     if (!CMBB->isLegalToHoistInto())
       continue;
----------------
Unrelated with this patch: Check `CMBB != nullptr`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D63934





More information about the llvm-commits mailing list