[PATCH] D59439: [ARM] Make sure to save/restore LR when we use tBfar.

Oliver Stannard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 06:15:05 PDT 2019


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

LGTM with one nit .



================
Comment at: lib/Target/ARM/ARMMachineFunctionInfo.h:64
 
+  /// LRSpilledForFarJump - True if the LR register has been for spilled for
+  /// any reason, so it's legal to emit an ARM::tBfar (i.e. "bl").
----------------
s/LRSpilledForFarJump/LRSpilled/


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59439





More information about the llvm-commits mailing list