Skip to content

Commit f7f08b2

Browse files
committed
Reword comment
1 parent 600551a commit f7f08b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,8 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
340340

341341
// Search for a corresponding vector variant.
342342
//
343-
// FIXME: CodeGen use RuntimeLibcallsInfo, not TargetLibraryInfo and has no
344-
// path to using the vector libcalls. So this guess at how legalization will
345-
// work is just wrong.
343+
// FIXME: Should use RuntimeLibcallsInfo, not TargetLibraryInfo to get the
344+
// vector mapping.
346345
LLVMContext &Ctx = RetTy->getContext();
347346
ElementCount VF = getVectorizedTypeVF(RetTy);
348347
VecDesc const *VD = nullptr;

0 commit comments

Comments
 (0)