[PATCH] D86661: Use properlyDominates in RDFLiveness when sorting on dominance.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 14:53:43 PDT 2020


xbolva00 added inline comments.


================
Comment at: llvm/lib/CodeGen/RDFLiveness.cpp:237
   // Sort the blocks with respect to dominance.
   std::sort(TmpBB.begin(), TmpBB.end(), [this](auto A, auto B) {
+    return MDT.properlyDominates(A, B);
----------------
llvm::sort


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

https://reviews.llvm.org/D86661



More information about the llvm-commits mailing list