diff options
author | Jessica Paquette <jpaquette@apple.com> | 2018-04-12 16:16:18 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2018-04-12 16:16:18 +0000 |
commit | 8aa6cd5cb99901219ac7461b1c74784179007913 (patch) | |
tree | f1b20f0a9c2b0de0b30637b928c6d7486a072051 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 12e2afd2fa960277636b0951890e3f8dbcb532b8 (diff) | |
download | llvm-8aa6cd5cb99901219ac7461b1c74784179007913.zip llvm-8aa6cd5cb99901219ac7461b1c74784179007913.tar.gz llvm-8aa6cd5cb99901219ac7461b1c74784179007913.tar.bz2 |
[AArch64] Move AFI->setRedZone(false) to top of emitPrologue
AFI->setRedZone(false) was put in the wrong place before, and so it only fired
on functions that didn't have stack frames. This moves that to the top of
emitPrologue to make sure that every function without a redzone has it set
correctly.
This also adds a function representing one of the early exit cases (GHC calling
convention) to the MachineOutliner noredzone test to ensure that we can outline
from functions like these, where we never use a redzone.
llvm-svn: 329922
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions