1*9880d681SAndroid Build Coastguard Worker; RUN: llc -march=mips < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workerdefine i32 @branch(double %d) nounwind readnone { 4*9880d681SAndroid Build Coastguard Workerentry: 5*9880d681SAndroid Build Coastguard Worker; CHECK: mtc1 $zero, $f[[R0:[0-9]+]] 6*9880d681SAndroid Build Coastguard Worker; CHECK: c.eq.d $f{{[0-9]+}}, $f[[R0]] 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker %tobool = fcmp une double %d, 0.000000e+00 9*9880d681SAndroid Build Coastguard Worker %. = zext i1 %tobool to i32 10*9880d681SAndroid Build Coastguard Worker ret i32 %. 11*9880d681SAndroid Build Coastguard Worker} 12