]> granicus.if.org Git - clang/commit
[WebAssembly] -pthread implies -target-feature +sign-ext
authorThomas Lively <tlively@google.com>
Fri, 18 Oct 2019 04:34:26 +0000 (04:34 +0000)
committerThomas Lively <tlively@google.com>
Fri, 18 Oct 2019 04:34:26 +0000 (04:34 +0000)
commit28b915f1c58b6d9f347e22e042dfb17f4474db41
tree5a3ba2aaa52248eadc8361ef86d6685e965f27eb
parent8dd70959300cd08be029518be56bc64ccfe271df
[WebAssembly] -pthread implies -target-feature +sign-ext

Summary:
The sign extension proposal was motivated by a desire to not have
separate sign-extending atomic operations, so it is meant to be
enabled when threads are used.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, sunfish, jfb, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D69075

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@375199 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/WebAssembly.cpp
test/Driver/wasm-toolchain.c