[all-commits] [llvm/llvm-project] 2347aa: [SLP][REVEC] Fix the mismatch between the result o...
Han-Kuan Chen via All-commits
all-commits at lists.llvm.org
Tue Apr 8 07:29:32 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2347aa1fccdb1347450fc2a5af310f320f30c734
https://github.com/llvm/llvm-project/commit/2347aa1fccdb1347450fc2a5af310f320f30c734
Author: Han-Kuan Chen <hankuan.chen at sifive.com>
Date: 2025-04-08 (Tue, 08 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/revec-getAltInstrMask.ll
Log Message:
-----------
[SLP][REVEC] Fix the mismatch between the result of getAltInstrMask and the VecTy argument of TargetTransformInfo::isLegalAltInstr. (#134795)
We cannot determine ScalarTy from VL because some ScalarTy is determined
from VL[0]->getType(), while others are determined from
getValueType(VL[0]).
Fix "Mask and VecTy are incompatible".
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list