[all-commits] [llvm/llvm-project] 1c55dc: [NFCI][SimplifyCFG] Don't pay for a Small{Map, Set}...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Thu Mar 25 13:26:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c55dcbca71d2df2fee4564ad53b62505fdbb819
      https://github.com/llvm/llvm-project/commit/1c55dcbca71d2df2fee4564ad53b62505fdbb819
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [NFCI][SimplifyCFG] Don't pay for a Small{Map,Set}Vector when plain SmallSet will suffice

This *only* changes the cases where we *really* don't care
about the iteration order of the underlying contained,
namely when we will use the values from it to form DTU updates.




More information about the All-commits mailing list