Skip to content

Commit 483cc21

Browse files
committed
AMDGPU: Remove special case folding of sqrt
1 parent 416f6af commit 483cc21

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,10 +1425,6 @@ bool AMDGPULibCalls::evaluateScalarMathFunc(const FuncInfo &FInfo, double &Res0,
14251425
Res0 = sin(MATH_PI * opr0);
14261426
return true;
14271427

1428-
case AMDGPULibFunc::EI_SQRT:
1429-
Res0 = sqrt(opr0);
1430-
return true;
1431-
14321428
case AMDGPULibFunc::EI_TAN:
14331429
Res0 = tan(opr0);
14341430
return true;

0 commit comments

Comments
 (0)