[PATCH] D101187: [MachineCSE] Prevent CSE of non-local convergent instrs

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 29 02:40:18 PDT 2021


foad added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineCSE.cpp:600
+    // extended definition.
+    if (MI->isConvergent() && MI->getParent() != CSMI->getParent()) {
+      LLVM_DEBUG(dbgs() << "*** Convergent MI and subexpression exist in "
----------------
Do we also need this check in ProcessBlockPRE?


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

https://reviews.llvm.org/D101187



More information about the llvm-commits mailing list