[all-commits] [llvm/llvm-project] 8c249c: [CodeGen][AArch64] Don't split functions with a re...
Daniel Hoekwater via All-commits
all-commits at lists.llvm.org
Thu Aug 24 15:04:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c249c44d41f69c867fcf47f65e4646b626368d7
https://github.com/llvm/llvm-project/commit/8c249c44d41f69c867fcf47f65e4646b626368d7
Author: Daniel Hoekwater <hoekwater at google.com>
Date: 2023-08-24 (Thu, 24 Aug 2023)
Changed paths:
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/MachineFunctionSplitter.cpp
M llvm/lib/CodeGen/TargetInstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.h
M llvm/test/CodeGen/Generic/machine-function-splitter.ll
Log Message:
-----------
[CodeGen][AArch64] Don't split functions with a red zone on AArch64
Because unconditional branch relaxation on AArch64 grows the stack to
spill a register, splitting a function would cause the red zone to be
overwritten. Explicitly disable MFS for such functions.
Differential Revision: https://reviews.llvm.org/D157127
More information about the All-commits
mailing list