This tracks the WebAssembly threads feature proposal at
https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md
This change simply add the target feature and basic support for a single instruction i32.atomic.load.
Paths
| Differential D37300
[WebAssembly] Add target feature for atomics ClosedPublic Authored by dschuff on Aug 30 2017, 9:06 AM.
Details Summary This tracks the WebAssembly threads feature proposal at This change simply add the target feature and basic support for a single instruction i32.atomic.load.
Diff Detail
Event TimelineComment Actions Nits aside lgtm
This revision is now accepted and ready to land.Aug 30 2017, 9:39 AM Closed by commit rL312145: [WebAssembly] Add target feature for atomics (authored by dschuff). · Explain WhyAug 30 2017, 11:09 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 113280 lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
lib/Target/WebAssembly/WebAssembly.td
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
lib/Target/WebAssembly/WebAssemblyInstrFormats.td
lib/Target/WebAssembly/WebAssemblyInstrInfo.td
lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
lib/Target/WebAssembly/WebAssemblySubtarget.h
lib/Target/WebAssembly/WebAssemblySubtarget.cpp
test/CodeGen/WebAssembly/atomics.ll
|
Should this surround the //==--- Atomic loads ---===// header? Looks odd to me that it starts outside it, but ends inside it.