aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/micromips-compact-jump.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Mips/micromips-compact-jump.ll')
-rw-r--r--test/CodeGen/Mips/micromips-compact-jump.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/micromips-compact-jump.ll b/test/CodeGen/Mips/micromips-compact-jump.ll
new file mode 100644
index 0000000..70cff84
--- /dev/null
+++ b/test/CodeGen/Mips/micromips-compact-jump.ll
@@ -0,0 +1,11 @@
+; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
+; RUN: -disable-mips-delay-filler -O3 < %s | FileCheck %s
+
+define i32 @foo(i32 signext %a) #0 {
+entry:
+ ret i32 0
+}
+
+declare i32 @bar(i32 signext) #1
+
+; CHECK: jrc