aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips/null.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Mips/null.ll')
-rw-r--r--test/CodeGen/Mips/null.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/null.ll b/test/CodeGen/Mips/null.ll
new file mode 100644
index 000000000000..7beae99c4557
--- /dev/null
+++ b/test/CodeGen/Mips/null.ll
@@ -0,0 +1,13 @@
+; RUN: llc -march=mipsel -mcpu=mips16 < %s | FileCheck %s -check-prefix=16
+
+
+define i32 @main() nounwind {
+entry:
+ ret i32 0
+
+; 16: .set mips16 # @main
+
+
+; 16: jr $ra
+
+}