diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-01-08 10:46:05 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2018-01-08 10:46:05 +0000 |
commit | d52da12822e378b1b002e8316839138564fca809 (patch) | |
tree | cfee428922b000c4f0a9c14e604718be4239e16f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e1689689d8de2f45eeb7a80efc72af90b066ffcd (diff) | |
download | llvm-d52da12822e378b1b002e8316839138564fca809.zip llvm-d52da12822e378b1b002e8316839138564fca809.tar.gz llvm-d52da12822e378b1b002e8316839138564fca809.tar.bz2 |
[X86] Remove side-effects from determineCalleeSaves
(Target)FrameLowering::determineCalleeSaves can be called multiple
times. I don't think it should have side-effects as creating stack
objects and setting global MachineFunctionInfo state as it is doing
today (in other back-ends as well).
This moves the creation of stack objects from determineCalleeSaves to
assignCalleeSavedSpillSlots.
Differential Revision: https://reviews.llvm.org/D41703
llvm-svn: 321987
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions