Stackmap shadows should consider call returns a branch target.
[oota-llvm.git] / test / CodeGen / Mips / constantfp0.ll
1 ; RUN: llc -march=mips < %s | FileCheck %s
2
3 define i32 @branch(double %d) nounwind readnone {
4 entry:
5 ; CHECK: mtc1  $zero, $f[[R0:[0-9]+]]
6 ; CHECK: c.eq.d  $f{{[0-9]+}}, $f[[R0]]
7
8   %tobool = fcmp une double %d, 0.000000e+00
9   %. = zext i1 %tobool to i32
10   ret i32 %.
11 }