[clang] [llvm] [TargetLibraryInfo] Add libmvec support for risc-v (PR #119844)

Mark Goncharov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 20 00:12:29 PST 2024


================
@@ -109,11 +109,11 @@ static void addMappingsFromTLI(const TargetLibraryInfo &TLI, CallInst &CI) {
   TLI.getWidestVF(ScalarName, WidestFixedVF, WidestScalableVF);
 
   for (bool Predicated : {false, true}) {
-    for (ElementCount VF = ElementCount::getFixed(2);
----------------
mga-sc wrote:

Leave a comment about this change. It is unclear why this change is needed and whether it affects other vector libraries.

https://github.com/llvm/llvm-project/pull/119844


More information about the llvm-commits mailing list