[all-commits] [llvm/llvm-project] cc58e8: [SCEV] Simplify backedge count clearing (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat May 1 08:51:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cc58e8918b70d5698ec06c0b6e4c6e4c27971870
https://github.com/llvm/llvm-project/commit/cc58e8918b70d5698ec06c0b6e4c6e4c27971870
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-05-01 (Sat, 01 May 2021)
Changed paths:
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Simplify backedge count clearing (NFC)
This seems to be a leftover from when the BackedgeTakenInfo
stored multiple exit counts with manual memory management. At
some point this was switchted to a simple vector, and there should
be no need to micro-manage the clearing anymore. We can simply
drop the loop from the map and the the destructor do its job.
More information about the All-commits
mailing list