efriedma accepted this revision.
efriedma added a comment.

LGTM with one minor comment (feel free to ignore if you disagree)



================
Comment at: llvm/lib/Target/ARM/Thumb1FrameLowering.cpp:958
+static void popRegsFromStack(MachineBasicBlock &MBB,
+                             MachineBasicBlock::iterator MI,
+                             const TargetInstrInfo &TII,
----------------
Maybe consider making this an `MachineBasicBlock::iterator&`, so MI isn't a 
dangling pointer?  Not that the result is really any different from what you're 
doing here, but maybe less confusing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125094

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to