aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-12-15 13:43:14 +0000
committerFlorian Hahn <flo@fhahn.com>2023-12-15 13:43:15 +0000
commitb1bfe221e6cc36c2b4bdf80466aaf8935557e45f (patch)
tree61deb083e928637283a44074529e53c6cf4ac144 /flang/lib/Frontend/CompilerInvocation.cpp
parent2103de0c4cced5d06165a8a8a84cec89c8ab3be0 (diff)
downloadllvm-b1bfe221e6cc36c2b4bdf80466aaf8935557e45f.zip
llvm-b1bfe221e6cc36c2b4bdf80466aaf8935557e45f.tar.gz
llvm-b1bfe221e6cc36c2b4bdf80466aaf8935557e45f.tar.bz2
[VPlan] Remove unneeded getNumUsers calls in replaceAllUsesWith (NFC).
As suggested post-commit for a00227197, replace unnecessary getNumUsers calls by boolean variable to indicate if users changed. Note that this also requires an early exit to detect the case where a value is replaced by itself.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions