diff options
author | Andy Wingo <wingo@igalia.com> | 2021-05-28 12:42:12 +0200 |
---|---|---|
committer | Andy Wingo <wingo@igalia.com> | 2021-05-28 12:42:12 +0200 |
commit | ca5f07f8c4bc96d16ed1992b810aa3897df157f2 (patch) | |
tree | a3bf0e22a54b9ff8a51a50bec101e2d59f883f0b /llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp | |
parent | 9ff2eb1ea596a52ad2b5cfab826548c3af0a1e6e (diff) | |
download | llvm-ca5f07f8c4bc96d16ed1992b810aa3897df157f2.zip llvm-ca5f07f8c4bc96d16ed1992b810aa3897df157f2.tar.gz llvm-ca5f07f8c4bc96d16ed1992b810aa3897df157f2.tar.bz2 |
Revert "[WebAssembly][CodeGen] IR support for WebAssembly local variables"
This reverts commit 00ecf18979e3326b3afee8af3dc701c53ffdc93f, as it
broke the AMDGPU build. Will reland later with a fix.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp index a91fa74..f139e87 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp @@ -314,16 +314,6 @@ void WebAssemblyFrameLowering::emitEpilogue(MachineFunction &MF, writeSPToGlobal(SPReg, MF, MBB, InsertPt, DL); } -bool WebAssemblyFrameLowering::isSupportedStackID( - TargetStackID::Value ID) const { - // Use the Object stack for WebAssembly locals which can only be accessed - // by name, not via an address in linear memory. - if (ID == TargetStackID::WasmLocal) - return true; - - return TargetFrameLowering::isSupportedStackID(ID); -} - TargetFrameLowering::DwarfFrameBase WebAssemblyFrameLowering::getDwarfFrameBase(const MachineFunction &MF) const { DwarfFrameBase Loc; |