projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 21610: Canonicalize min/max fcmp selects to use ordered comparisons
[oota-llvm.git]
/
test
/
CodeGen
/
Mips
/
gpreg-lazy-binding.ll
diff --git
a/test/CodeGen/Mips/gpreg-lazy-binding.ll
b/test/CodeGen/Mips/gpreg-lazy-binding.ll
index 85d8d4b1db19fd127d90e1382102415b9e680382..3a636d82533f437e145b3b89f79364dbb83bc442 100644
(file)
--- a/
test/CodeGen/Mips/gpreg-lazy-binding.ll
+++ b/
test/CodeGen/Mips/gpreg-lazy-binding.ll
@@
-2,10
+2,10
@@
@g = external global i32
@g = external global i32
-; CHECK:
addu
$gp
+; CHECK:
move
$gp
; CHECK: jalr $25
; CHECK: nop
; CHECK: jalr $25
; CHECK: nop
-; CHECK-NOT:
addu
$gp
+; CHECK-NOT:
move
$gp
; CHECK: jalr $25
define void @f0() nounwind {
; CHECK: jalr $25
define void @f0() nounwind {
@@
-25,3
+25,11
@@
entry:
ret void
}
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
+}