We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb1835 commit 6a11a87Copy full SHA for 6a11a87
llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@ -345,6 +345,10 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
345
RTLIB::RuntimeLibcallsInfo::getLibcallImplName(LibcallImpl);
346
347
// 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.
352
LLVMContext &Ctx = RetTy->getContext();
353
ElementCount VF = getVectorizedTypeVF(RetTy);
354
VecDesc const *VD = nullptr;
0 commit comments