aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-10-07 23:24:24 +0100
committerFlorian Hahn <flo@fhahn.com>2023-10-07 23:24:24 +0100
commitdae91f5dbc5bee579eac7f4cbb71e86f2934817f (patch)
tree76a0f9d30eb23059454aacfbce04092c3275ed9b /clang/lib/Frontend/CompilerInstance.cpp
parentbae41ff57e04ddcb89ea128065e3d1f9afa9917c (diff)
downloadllvm-dae91f5dbc5bee579eac7f4cbb71e86f2934817f.zip
llvm-dae91f5dbc5bee579eac7f4cbb71e86f2934817f.tar.gz
llvm-dae91f5dbc5bee579eac7f4cbb71e86f2934817f.tar.bz2
[VPlan] Avoid VPTransformState::reset in fixReduction (NFCI).
There's no need to repeatedly query and reset the state for LoopExitInstDef. This removes one of the last uses of VPTransformState::reset, by use a vector to store and update the results. No other code should try to retrieve the result from State outside the fixReductionCall.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions