diff options
author | Dan Gohman <dan433584@gmail.com> | 2018-01-19 17:16:24 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2018-01-19 17:16:24 +0000 |
commit | 5d2b9354b131f6665ce380c9d9267f11cf7fd55e (patch) | |
tree | a5d987eb5bbda5b6bcb70ef384badddca41e9a84 /llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp | |
parent | 1e68724d24ba38de7c7cdb2e1939d78c8b37cc0d (diff) | |
download | llvm-5d2b9354b131f6665ce380c9d9267f11cf7fd55e.zip llvm-5d2b9354b131f6665ce380c9d9267f11cf7fd55e.tar.gz llvm-5d2b9354b131f6665ce380c9d9267f11cf7fd55e.tar.bz2 |
[WebAssembly] Make sign-extension opcodes a distinct feature.
Sign-extension opcodes have been split into a separate proposal from
the main threads proposal, so switch them to their own target
feature. See:
https://github.com/WebAssembly/sign-extension-ops
llvm-svn: 322966
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp index 9e122a5..78602a3 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp @@ -41,8 +41,8 @@ WebAssemblySubtarget::WebAssemblySubtarget(const Triple &TT, const std::string &FS, const TargetMachine &TM) : WebAssemblyGenSubtargetInfo(TT, CPU, FS), HasSIMD128(false), - HasAtomics(false), HasNontrappingFPToInt(false), CPUString(CPU), - TargetTriple(TT), FrameLowering(), + HasAtomics(false), HasNontrappingFPToInt(false), HasSignExt(false), + CPUString(CPU), TargetTriple(TT), FrameLowering(), InstrInfo(initializeSubtargetDependencies(FS)), TSInfo(), TLInfo(TM, *this) {} |