aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2025-06-13 18:25:07 +0100
committerGitHub <noreply@github.com>2025-06-13 18:25:07 +0100
commitb81d5e06c7cba8c9f1f5380daed4b9ee139214ba (patch)
tree7483bb703fa4bad58f50bdc253e0f13afce19b1f /clang/lib/CodeGen/CodeGenFunction.cpp
parent1072196c2737fcf921ad52e9a44c13423789111b (diff)
downloadllvm-b81d5e06c7cba8c9f1f5380daed4b9ee139214ba.zip
llvm-b81d5e06c7cba8c9f1f5380daed4b9ee139214ba.tar.gz
llvm-b81d5e06c7cba8c9f1f5380daed4b9ee139214ba.tar.bz2
[InstCombine] Fold shuffles through all trivially vectorizable intrinsics (#141979)
This addresses a TODO in foldShuffledIntrinsicOperands to use isTriviallyVectorizable instead of a hardcoded list of intrinsics, which in turn allows more intriniscs to be scalarized by VectorCombine. From what I can tell every intrinsic here should be speculatable so an assertion was added. Because this enables intrinsics like abs which have a scalar operand, we need to also check isVectorIntrinsicWithScalarOpAtArg.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions