diff options
author | Florian Hahn <flo@fhahn.com> | 2023-10-07 23:24:24 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2023-10-07 23:24:24 +0100 |
commit | dae91f5dbc5bee579eac7f4cbb71e86f2934817f (patch) | |
tree | 76a0f9d30eb23059454aacfbce04092c3275ed9b /clang/lib/Frontend/CompilerInstance.cpp | |
parent | bae41ff57e04ddcb89ea128065e3d1f9afa9917c (diff) | |
download | llvm-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