summaryrefslogtreecommitdiff
path: root/test/CodeGen/XCore/constants.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/XCore/constants.ll')
-rw-r--r--test/CodeGen/XCore/constants.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/XCore/constants.ll b/test/CodeGen/XCore/constants.ll
index cad1a2153f..1e064f37ba 100644
--- a/test/CodeGen/XCore/constants.ll
+++ b/test/CodeGen/XCore/constants.ll
@@ -9,3 +9,11 @@ define i32 @f() {
entry:
ret i32 12345678
}
+
+define i32 @g() {
+entry:
+; CHECK: g:
+; CHECK: mkmsk r0, 1
+; CHECK: retsp 0
+ ret i32 1;
+}