[PATCH] D62028: [DebugInfo][AArch64] Recognise target specific instruction as mov instr

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 11:58:24 PDT 2019


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

LGTM with one minor comment



================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:5523
+      (MI.getOperand(1).getReg() == AArch64::WZR) &&
+      (MI.getOperand(3).getImm() == 0x0)) {
+    Destination = &MI.getOperand(0);
----------------
Please clean up unnecessary parentheses (you don't need parentheses around each comparison using "&&").


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

https://reviews.llvm.org/D62028





More information about the llvm-commits mailing list