aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Hexagon/checktabs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Hexagon/checktabs.ll')
-rw-r--r--test/CodeGen/Hexagon/checktabs.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Hexagon/checktabs.ll b/test/CodeGen/Hexagon/checktabs.ll
new file mode 100644
index 000000000000..740433bf824a
--- /dev/null
+++ b/test/CodeGen/Hexagon/checktabs.ll
@@ -0,0 +1,8 @@
+; RUN: llc -march=hexagon < %s | FileCheck --strict-whitespace %s
+; Make sure we are emitting tabs as formatting.
+; CHECK: {
+; CHECK-NEXT: {{jump|r}}
+define i32 @foobar(i32 %a, i32 %b) {
+ %1 = add i32 %a, %b
+ ret i32 %1
+}