[SCEV] Update SCEVLoopGuardRewriter to hold reference to map. (NFC)
authorFlorian Hahn <flo@fhahn.com>
Sat, 13 Nov 2021 09:39:14 +0000 (09:39 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sat, 13 Nov 2021 09:39:14 +0000 (09:39 +0000)
commit8ed8d370880b5c4e7bbf52b50791710a9f4f834b
treed0ca5ae317f156bb34530cd41777124d8390870e
parentb5ff187b7b51dd76f881e10c1c2b4033e672fb12
[SCEV] Update SCEVLoopGuardRewriter to hold reference to map. (NFC)

SCEVLoopGuardRewriter doesn't need to copy the rewrite map. It can just
hold a const reference instead, to avoid an unnecessary copy.
llvm/lib/Analysis/ScalarEvolution.cpp