diff options
| author | Heejin Ahn <aheejin@gmail.com> | 2019-02-20 01:14:36 +0000 |
|---|---|---|
| committer | Heejin Ahn <aheejin@gmail.com> | 2019-02-20 01:14:36 +0000 |
| commit | 3477bd12a09927a4e5592ae3a910ad51f1876024 (patch) | |
| tree | 0db20fc42f257609b312877399e8af54317cd7a3 /llvm/lib/Object/WasmObjectFile.cpp | |
| parent | dfe7bbc1a4731a9ef3aeb39f54b49d5522663135 (diff) | |
| download | llvm-3477bd12a09927a4e5592ae3a910ad51f1876024.zip llvm-3477bd12a09927a4e5592ae3a910ad51f1876024.tar.gz llvm-3477bd12a09927a4e5592ae3a910ad51f1876024.tar.bz2 | |
[WebAssembly] Fix load/store name detection for atomic instructions
Summary:
Fixed a bug in the routine in AsmParser that determines whether the
current instruction is a load or a store. Atomic instructions' prefixes
are not `atomic_` but `atomic.`, and all atomic instructions are also
memory instructions. Also fixed the printing format of atomic
instructions to match other memory instructions and added encoding tests
for atomic instructions.
Reviewers: aardappel, tlively
Subscribers: dschuff, sbc100, jgravelle-google, sunfish, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58337
llvm-svn: 354419
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
