diff options
author | Luke Lau <luke@igalia.com> | 2025-05-01 01:25:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-01 01:25:41 +0800 |
commit | 2cd829fc2c63c7b93fa1c65f65f6d92f854ffcb7 (patch) | |
tree | 039226d383587b1e7105c0e7f1cdd21dd844db2e /llvm/unittests/Support/ProgramStackTest.cpp | |
parent | 88b03aafdbda85355b1522bc8ddbf8b5db8fb2b0 (diff) | |
download | llvm-2cd829fc2c63c7b93fa1c65f65f6d92f854ffcb7.zip llvm-2cd829fc2c63c7b93fa1c65f65f6d92f854ffcb7.tar.gz llvm-2cd829fc2c63c7b93fa1c65f65f6d92f854ffcb7.tar.bz2 |
[VectorUtils][VPlan] Consolidate VPWidenIntrinsicRecipe::onlyFirstLaneUsed and isVectorIntrinsicWithScalarOpAtArg (#137497)
We can reuse isVectorIntrinsicWithScalarOpAtArg in VectorUtils to
determine if only the first lane will be used for a
VPWidenIntrinsicRecipe, provided that we also move the VP EVL operand
check into it.
This was needed by a local patch I was working on that created a
VPWidenIntrinsicRecipe with a VP intrinsic, and prevents the need to
update the scalar arguments in two places.
Diffstat (limited to 'llvm/unittests/Support/ProgramStackTest.cpp')
0 files changed, 0 insertions, 0 deletions