aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-02-05 11:36:55 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2019-02-05 11:36:55 +0000
commit998a925e0e4720a619bfbd6a5842b4c5ca8a9b63 (patch)
tree894a720eaac368445b60b036c5e07ce1aa3a1ba9 /llvm/unittests/Support/CommandLineTest.cpp
parent7ffc4681cae49e3d5ccf807dac115e890b808f00 (diff)
downloadllvm-998a925e0e4720a619bfbd6a5842b4c5ca8a9b63.zip
llvm-998a925e0e4720a619bfbd6a5842b4c5ca8a9b63.tar.gz
llvm-998a925e0e4720a619bfbd6a5842b4c5ca8a9b63.tar.bz2
[MCA] Simplify the logic in method WriteState::addUser. NFCI
In some cases, it is faster to just grow the set of 'Users' rather than performing a llvm::find_if every time a new user is added to the set. No functional change intended. llvm-svn: 353162
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions