[PATCH] D137483: [NFC][PowerPC] Add NFC fixes to PPCInstrinfo.cpp when getting the defined machine instruction.

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 8 03:05:25 PST 2022


shchenz added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:3394
+        } else
+          DefMI = nullptr;
       }
----------------
If `OpNoForForwarding` is not changed, then the reassigned `DefMI` will not be used. Do you find any issue for this?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137483



More information about the llvm-commits mailing list