summaryrefslogtreecommitdiffstats
path: root/test/MC/Hexagon/basic.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Hexagon/basic.ll')
-rw-r--r--test/MC/Hexagon/basic.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/Hexagon/basic.ll b/test/MC/Hexagon/basic.ll
new file mode 100644
index 0000000..8a5d2e6
--- /dev/null
+++ b/test/MC/Hexagon/basic.ll
@@ -0,0 +1,7 @@
+;; RUN: llc -mtriple=hexagon-unknown-elf -filetype=obj %s -o - \
+;; RUN: | llvm-readobj -h -r | FileCheck -check-prefix=OBJ %s
+
+; OBJ: Format: ELF32-hexagon
+; OBJ: Arch: hexagon
+; OBJ: AddressSize: 32bit
+; OBJ: Machine: EM_HEXAGON