[PATCH] D89189: [ARM][MachineOutliner] Do not overestimate LR liveness in return block

Momchil Velikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 17 09:12:25 PDT 2020


chill marked 2 inline comments as done.
chill added inline comments.


================
Comment at: llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp:5730
+    // Check defs of LR.
+    if (MI.modifiesRegister(ARM::LR, nullptr))
+      Live = false;
----------------
yroux wrote:
> I think we can get ride of passing nullptr since it is TRI default value in the prototype
One would think so, wouldn't they? :D 

I created D89625


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

https://reviews.llvm.org/D89189



More information about the llvm-commits mailing list