[llvm] Fix scalar overload name constructed by ReplaceWithVeclib.cpp (PR #111095)
Tex Riddell via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 7 10:44:01 PDT 2024
================
@@ -129,7 +143,7 @@ static bool replaceWithCallToVeclib(const TargetLibraryInfo &TLI,
// using scalar argument types.
std::string ScalarName =
Intrinsic::isOverloaded(IID)
- ? Intrinsic::getName(IID, ScalarArgTypes, II->getModule())
----------------
tex3d wrote:
It's used to construct the function type `ScalarFTy` below. This is why it needs all the argument types.
https://github.com/llvm/llvm-project/pull/111095
More information about the llvm-commits
mailing list