[PATCH] D83569: [PowerPC] Fix the killed flag in mi-peephole pass

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 19:21:23 PDT 2020


shchenz added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCMIPeephole.cpp:1562
+    SrcMI->getOperand(1).setIsKill(false);
+  }
+
----------------
Should we also consider `SrcMI->getOperand(0)` or legacy `MI.getOperand(1)`  at least when MI and and SrcMI are in same BB?

We have a API `fixupIsDeadOrKill` for kill/dead flag fixup.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83569





More information about the llvm-commits mailing list