Searched refs:is_zero_zero (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 1075 llvm::Value* is_zero_zero = And(FCmpOEQ(b, zero), FCmpOEQ(a, zero)); in EmitComplexRsqrt() local 1077 is_zero_zero, inf, in EmitComplexRsqrt() 1081 is_zero_zero, nan, in EmitComplexRsqrt() 1089 llvm::Value* is_zero_zero = And(FCmpOEQ(b, zero), FCmpOEQ(a, zero)); in EmitComplexRsqrt() local 1090 real_part = Select(is_zero_zero, inf, FMul(r, cos)); in EmitComplexRsqrt() 1091 imag_part = Select(is_zero_zero, nan, FMul(r, sin)); in EmitComplexRsqrt()
|