[PATCH] D69375: [NFC] Remove redundant lines
Daniil Fukalov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 24 04:53:04 PDT 2019
dfukalov created this revision.
dfukalov added a reviewer: rampitec.
Herald added subscribers: hiraditya, nhaehnle, jvesely, arsenm.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69375
Files:
llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
Index: llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
===================================================================
--- llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
+++ llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
@@ -1167,8 +1167,6 @@
return true;
}
if (ci_opr1 == 2) { // rootn(x, 2) = sqrt(x)
- std::vector<const Type*> ParamsTys;
- ParamsTys.push_back(opr0->getType());
Module *M = CI->getModule();
if (FunctionCallee FPExpr =
getFunction(M, AMDGPULibFunc(AMDGPULibFunc::EI_SQRT, FInfo))) {
@@ -1194,8 +1192,6 @@
replaceCall(nval);
return true;
} else if (ci_opr1 == -2) { // rootn(x, -2) = rsqrt(x)
- std::vector<const Type*> ParamsTys;
- ParamsTys.push_back(opr0->getType());
Module *M = CI->getModule();
if (FunctionCallee FPExpr =
getFunction(M, AMDGPULibFunc(AMDGPULibFunc::EI_RSQRT, FInfo))) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69375.226226.patch
Type: text/x-patch
Size: 883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191024/6e176c86/attachment.bin>
More information about the llvm-commits
mailing list