[PATCH] D97159: [AVR] Fix def state of operands

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Feb 21 18:04:17 PST 2021


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/AVRRelaxMemOperations.cpp:116
     buildMI(MBB, MBBI, AVR::POPWRd)
-      .addReg(Ptr.getReg(), getKillRegState(Ptr.isKill()));
+      .addDef(Ptr.getReg(), getKillRegState(Ptr.isKill()));
 
----------------
Fix this lint warning.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97159



More information about the llvm-commits mailing list