diff options
author | Sam Clegg <sbc@chromium.org> | 2018-07-16 23:09:29 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2018-07-16 23:09:29 +0000 |
commit | cf2a9e28b1bb37181ae916043df155cede38ff18 (patch) | |
tree | 2201a2ebd62ff346c8c631b0c71422aff1e78860 /llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp | |
parent | c71adc8040b1e382b195a0096015cb5c39628b23 (diff) | |
download | bcm5719-llvm-cf2a9e28b1bb37181ae916043df155cede38ff18.tar.gz bcm5719-llvm-cf2a9e28b1bb37181ae916043df155cede38ff18.zip |
[WebAssembly] Remove ELF file support.
This support was partial and temporary. Now that we have
wasm object file support its no longer needed.
Differential Revision: https://reviews.llvm.org/D48744
llvm-svn: 337222
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp index b61fb340acd..8619cbdcb5e 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp @@ -189,11 +189,6 @@ bool WebAssemblyExplicitLocals::runOnMachineFunction(MachineFunction &MF) { if (DisableWebAssemblyExplicitLocals) return false; - // Disable this pass if we aren't doing direct wasm object emission. - if (MF.getSubtarget<WebAssemblySubtarget>() - .getTargetTriple().isOSBinFormatELF()) - return false; - bool Changed = false; MachineRegisterInfo &MRI = MF.getRegInfo(); WebAssemblyFunctionInfo &MFI = *MF.getInfo<WebAssemblyFunctionInfo>(); |