[all-commits] [llvm/llvm-project] 8ed8d3: [SCEV] Update SCEVLoopGuardRewriter to hold refere...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Nov 13 01:42:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ed8d370880b5c4e7bbf52b50791710a9f4f834b
      https://github.com/llvm/llvm-project/commit/8ed8d370880b5c4e7bbf52b50791710a9f4f834b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-11-13 (Sat, 13 Nov 2021)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list