aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2020-02-05 18:17:11 -0800
committerThomas Lively <tlively@google.com>2020-02-18 13:49:46 -0800
commit7b64a590600645234412bce8cb6becf45f276de4 (patch)
tree584b01da1e75e16e50f8a96e9ab837bc1a4ae142 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parent42cab985fd95ba4f3f290e7bb26b93805edb447d (diff)
downloadllvm-7b64a590600645234412bce8cb6becf45f276de4.zip
llvm-7b64a590600645234412bce8cb6becf45f276de4.tar.gz
llvm-7b64a590600645234412bce8cb6becf45f276de4.tar.bz2
Reland "[WebAssembly][InstrEmitter] Foundation for multivalue call lowering"
This reverts commit 649aba93a27170cb03a4b17c98a19b9237a880b8, now that the approach started there has been shown to be workable in the patch series culminating in https://reviews.llvm.org/D74192.
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
-rw-r--r--llvm/lib/CodeGen/PrologEpilogInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PrologEpilogInserter.cpp b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
index d583643..889d026 100644
--- a/llvm/lib/CodeGen/PrologEpilogInserter.cpp
+++ b/llvm/lib/CodeGen/PrologEpilogInserter.cpp
@@ -237,7 +237,7 @@ bool PEI::runOnMachineFunction(MachineFunction &MF) {
stashEntryDbgValues(*SaveBlock, EntryDbgValues);
// Handle CSR spilling and restoring, for targets that need it.
- if (MF.getTarget().usesPhysRegsForPEI())
+ if (MF.getTarget().usesPhysRegsForValues())
spillCalleeSavedRegs(MF);
// Allow the target machine to make final modifications to the function