[PATCH] D80828: [Clang][A32/T32][Linux] -O1 implies -fomit-frame-pointer

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 14:16:14 PDT 2020


efriedma accepted this revision.
efriedma added a comment.

LGTM.  For non-Android, I think it makes sense to align with gcc as much as possible.

> This is mostly
>  for legacy/compatibility reasons, and the 2019 Q4 revision of the ARM
>  AAPCS looks to standardize r11 as the frame pointer for aarch32, though
>  this is not yet implemented in LLVM.

It's also really expensive to use r11 as a frame pointer in Thumb1.  I guess it's not impossible, though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80828





More information about the llvm-commits mailing list