Skip to content

Commit

Permalink
AMDGPU: Remove special case folding of sqrt
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenm committed Aug 14, 2023
1 parent 416f6af commit 483cc21
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1425,10 +1425,6 @@ bool AMDGPULibCalls::evaluateScalarMathFunc(const FuncInfo &FInfo, double &Res0,
Res0 = sin(MATH_PI * opr0);
return true;

case AMDGPULibFunc::EI_SQRT:
Res0 = sqrt(opr0);
return true;

case AMDGPULibFunc::EI_TAN:
Res0 = tan(opr0);
return true;
Expand Down

0 comments on commit 483cc21

Please sign in to comment.