diff options
author | Heejin Ahn <aheejin@gmail.com> | 2018-08-02 21:44:24 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2018-08-02 21:44:24 +0000 |
commit | 4128cb0b6bbe921188247e8db1a0a9103f66e51f (patch) | |
tree | 1bb3f47161c5c9b1f0e14aff58801bcbca735263 /llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h | |
parent | 0faca0f09f43369ab7132f884d4f54873f54a168 (diff) | |
download | bcm5719-llvm-4128cb0b6bbe921188247e8db1a0a9103f66e51f.tar.gz bcm5719-llvm-4128cb0b6bbe921188247e8db1a0a9103f66e51f.zip |
[WebAssembly] Support for atomic.wait / atomic.wake instructions
Summary:
This adds support for atomic.wait / atomic.wake instructions in the wasm
thread proposal.
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D49395
llvm-svn: 338770
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h index 79819493ac6..8e22f90c1af 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h @@ -66,6 +66,9 @@ class WebAssemblyTargetLowering final : public TargetLowering { EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context, EVT VT) const override; + bool getTgtMemIntrinsic(IntrinsicInfo &Info, const CallInst &I, + MachineFunction &MF, + unsigned Intrinsic) const override; SDValue LowerCall(CallLoweringInfo &CLI, SmallVectorImpl<SDValue> &InVals) const override; |