[PATCH] D100939: [ExpandPostRAPseudos] Don't add duplicate implicit operands

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 21 08:32:09 PDT 2021


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/ExpandPostRAPseudos.cpp:72-74
+    if (none_of(CopyMI->implicit_operands(), [&](const MachineOperand &CopyMO) {
+          return CopyMO.isIdenticalTo(MO);
+        }))
----------------
This feels like a hack and we should have avoided this


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100939



More information about the llvm-commits mailing list