[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / MC / WebAssembly / bulk-memory-encodings.s
blob7047d6428af13acc12add2a7c9679ac9bcb5fdb7
1 # RUN: llvm-mc -show-encoding -triple=wasm32-unkown-unknown -mattr=+bulk-memory < %s | FileCheck %s
3 main:
4 .functype main () -> ()
6 # CHECK: memory.init 3, 0 # encoding: [0xfc,0x08,0x03,0x00]
7 memory.init 3, 0
9 # CHECK: data.drop 3 # encoding: [0xfc,0x09,0x03]
10 data.drop 3
12 # CHECK: memory.copy 0, 0 # encoding: [0xfc,0x0a,0x00,0x00]
13 memory.copy 0, 0
15 # CHECK: memory.fill 0 # encoding: [0xfc,0x0b,0x00]
16 memory.fill 0
18 end_function