[llvm] [TLI] Add mappings to SLEEF/ArmPL libcall variants taking linear argu… (PR #76060)

Maciej Gabka via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 06:58:03 PST 2023


================
@@ -504,7 +504,8 @@ void VPWidenCallRecipe::execute(VPTransformState &State) {
   for (unsigned Part = 0; Part < State.UF; ++Part) {
     SmallVector<Type *, 2> TysForDecl;
     // Add return type if intrinsic is overloaded on it.
-    if (isVectorIntrinsicWithOverloadTypeAtArg(VectorIntrinsicID, -1)) {
+    if (isVectorIntrinsicWithOverloadTypeAtArg(VectorIntrinsicID, -1) &&
----------------
mgabka wrote:

this is a LV bug, so I think it deserves a separate commit with target independent test, probably extension to the tests added in https://github.com/llvm/llvm-project/pull/73941 as all of the tests there were using functions  returning a value.

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


More information about the llvm-commits mailing list