[PATCH] D94772: [X86] Fix tile spill merge issue.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 17 17:21:21 PST 2021


pengfei added inline comments.


================
Comment at: llvm/lib/CodeGen/InlineSpiller.cpp:434
   // We disable the merge for this case.
-  if (std::distance(MIS.begin(), MII) <= 1)
+  if (std::distance(MIS.begin(), MII) < 1)
     HSpiller.addToMergeableSpills(*MII, StackSlot, Original);
----------------
Does it mean `MII == MIS.begin()`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94772



More information about the llvm-commits mailing list