diff options
Diffstat (limited to 'test/MC/Hexagon/iconst.s')
| -rw-r--r-- | test/MC/Hexagon/iconst.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/Hexagon/iconst.s b/test/MC/Hexagon/iconst.s new file mode 100644 index 000000000000..277c4de86923 --- /dev/null +++ b/test/MC/Hexagon/iconst.s @@ -0,0 +1,6 @@ +# RUN: llvm-mc -triple=hexagon -filetype=obj %s | llvm-objdump -d -r - | FileCheck %s + +a: +# CHECK: r0 = add(r0, #0) +# CHECK: R_HEX_23_REG +r0 = iconst(#a)
\ No newline at end of file |
