Displaying 1 result from an estimated 1 matches for "_z2t2f".
Did you mean:
_z2f2v
2019 Sep 26
2
Optimizing functions using logical operators
...1)
{
return (2 * v1) > 0;
}
bool t4(float v1)
{
return (2.f * v1) > 0;
}
; Function Attrs: norecurse nounwind readnone ssp uwtable
define zeroext i1 @_Z2t1i(i32) #0 {
%2 = icmp eq i32 %0, 5
ret i1 %2
}
; Function Attrs: norecurse nounwind readnone ssp uwtable
define zeroext i1 @_Z2t2f(float) #0 {
%2 = fadd float %0, 2.000000e+00
%3 = fcmp oeq float %2, 7.000000e+00
ret i1 %3
}
; Function Attrs: norecurse nounwind readnone ssp uwtable
define zeroext i1 @_Z2t3i(i32) #0 {
%2 = icmp sgt i32 %0, 0
ret i1 %2
}
; Function Attrs: norecurse nounwind readnone ssp uwtable
defin...