Skip to content

Commit 6a11a87

Browse files
committed
Add fixme
1 parent 2fb1835 commit 6a11a87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
345345
RTLIB::RuntimeLibcallsInfo::getLibcallImplName(LibcallImpl);
346346

347347
// Search for a corresponding vector variant.
348+
//
349+
// FIXME: CodeGen use RuntimeLibcallsInfo, not TargetLibraryInfo and has no
350+
// path to using the vector libcalls. So this guess at how legalization will
351+
// work is just wrong.
348352
LLVMContext &Ctx = RetTy->getContext();
349353
ElementCount VF = getVectorizedTypeVF(RetTy);
350354
VecDesc const *VD = nullptr;

0 commit comments

Comments
 (0)