aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-08-20 21:09:08 +0100
committerGitHub <noreply@github.com>2025-08-20 21:09:08 +0100
commit4e6c88be7c31336cf36dd21ff6a3cecae727a633 (patch)
tree96eb722098bb7c465136ed8e676eb4d2acb2f0a3 /clang/lib/Basic/SourceManager.cpp
parent4875553f4c741d6a2e4352609511f9be2a4013b1 (diff)
downloadllvm-4e6c88be7c31336cf36dd21ff6a3cecae727a633.zip
llvm-4e6c88be7c31336cf36dd21ff6a3cecae727a633.tar.gz
llvm-4e6c88be7c31336cf36dd21ff6a3cecae727a633.tar.bz2
[TTI] Remove Args argument from getOperandsScalarizationOverhead (NFC). (#154126)
Remove the ArrayRef<const Value*> Args operand from getOperandsScalarizationOverhead and require that the callers de-duplicate arguments and filter constant operands. Removing the Value * based Args argument enables callers where no Value * operands are available to use the function in a follow-up: computing the scalarization cost directly for a VPlan recipe. It also allows more accurate cost-estimates in the future: for example, when vectorizing a loop, we could also skip operands that are live-ins, as those also do not require scalarization. PR: https://github.com/llvm/llvm-project/pull/154126
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions