llvm/test/MC/Markup/basic-markup.mc
Jim Grosbach 7dd4dc8892 MC: Simple example parser for MC assembly markup.
Nothing fancy, just a simple demonstration parser.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167181 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-31 23:24:13 +00:00

17 lines
274 B
MonkeyC

// RUN: llvm-mcmarkup %s | FileCheck %s
push {<reg:r1>, <reg:r2>, <reg:r7>}
sub <reg:sp>, <imm:#132>
ldr <reg:r0>, <mem:[<reg:r0>, <imm:#4>]>
// CHECK: reg
// CHECK: reg
// CHECK: reg
// CHECK: reg
// CHECK: imm
// CHECK: reg
// CHECK: mem
// CHECK: reg
// CHECK: imm