[PATCH] D94058: [PowerPC] Sign extend comparison operand for signed atomic comparisons

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 07:50:13 PST 2021


nemanjai added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:11448
+  Register incr = MI.getOperand(3).getReg();
+  MachineRegisterInfo &MRI = F->getRegInfo();
+  bool IsSignExtended = Register::isVirtualRegister(incr) &&
----------------
bsaleil wrote:
> This line and 11446 are duplicate
Ah, yes. Thank you.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94058



More information about the llvm-commits mailing list