[PATCH] D92695: [X86ISelLowering] don't emit frame pointers for eflags intrinsics.

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 4 15:25:39 PST 2020


nickdesaulniers added a comment.

In D92695#2435063 <https://reviews.llvm.org/D92695#2435063>, @nickdesaulniers wrote:

> In D92695#2435025 <https://reviews.llvm.org/D92695#2435025>, @craig.topper wrote:
>
>> Maybe the linux kernel disables the red zone and this isn't a problem.
>
> The x86_64 (64b) Linux kernel is built with `-mno-red-zone`; I'm not sure if that's precisely the same as "disables the red zone."

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6ba0efa46047936afa81460489cfd24bc95dd863 has a little more context about the kernel's constraints.  https://stackoverflow.com/questions/25787408/why-cant-kernel-code-use-a-red-zone has more interesting discussion as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92695



More information about the llvm-commits mailing list