[PATCH] D117013: [PowerPC] Set the special DSCR with a compiler option.

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 09:42:29 PST 2022


nemanjai accepted this revision.
nemanjai added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp:438
+          BuildMI(MBB, IP, dl, TII->get(PPC::ORI), InDSCR)
+              .addReg(InDSCR, RegState::Kill)
+              .addImm(DSCRValue & 0xFFFF);
----------------
It likely doesn't matter, but we should get rid of this kill.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117013



More information about the llvm-commits mailing list