Weaken MFI Max Call Frame Size Assertion
authorOskar Wirga <oskar@wirga.com>
Wed, 5 Jul 2023 21:00:45 +0000 (14:00 -0700)
committerMatthias Braun <matze@braunis.de>
Wed, 5 Jul 2023 21:02:51 +0000 (14:02 -0700)
commit198df5f6820489f9a15a682f189d3827a0be2323
tree335e87279d2e631b3dde660506247020f1c2fb84
parent93d038a0ea86ff1010bae0b27570d426d29978d5
Weaken MFI Max Call Frame Size Assertion

A year ago when I was not invested at all into compilers, I found an assertion error when building an AArch64 debug build with LTO + CFI, among other combinations.

It was posted as a github issue here: https://github.com/llvm/llvm-project/issues/54088

I took it upon myself to revisit the issue now that I have spent some more time working on LLVM.

Reviewed By: MatzeB

Differential Revision: https://reviews.llvm.org/D151276
llvm/lib/CodeGen/PrologEpilogInserter.cpp
llvm/test/CodeGen/AArch64/compute-call-frame-size-unreachable-pass.ll [new file with mode: 0644]