aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/gpreg-lazy-binding.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Mips/gpreg-lazy-binding.ll')
-rw-r--r--test/CodeGen/Mips/gpreg-lazy-binding.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Mips/gpreg-lazy-binding.ll b/test/CodeGen/Mips/gpreg-lazy-binding.ll
index 88e596b..3a636d8 100644
--- a/test/CodeGen/Mips/gpreg-lazy-binding.ll
+++ b/test/CodeGen/Mips/gpreg-lazy-binding.ll
@@ -25,3 +25,11 @@ entry:
ret void
}
+define void @no_lazy(void (i32)* %pf) {
+
+; CHECK-LABEL: no_lazy
+; CHECK-NOT: gp_disp
+
+ tail call void %pf(i32 1)
+ ret void
+}