aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-02-20 01:14:36 +0000
committerHeejin Ahn <aheejin@gmail.com>2019-02-20 01:14:36 +0000
commit3477bd12a09927a4e5592ae3a910ad51f1876024 (patch)
tree0db20fc42f257609b312877399e8af54317cd7a3 /llvm/lib/Object/WasmObjectFile.cpp
parentdfe7bbc1a4731a9ef3aeb39f54b49d5522663135 (diff)
downloadllvm-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