[all-commits] [llvm/llvm-project] 3800b1: [SimplifyCFG] Share code to compute switch density...

Hans via All-commits all-commits at lists.llvm.org
Fri Jun 10 06:30:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3800b157d77b80fba204afff8cc8d545198899d5
      https://github.com/llvm/llvm-project/commit/3800b157d77b80fba204afff8cc8d545198899d5
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2022-06-10 (Fri, 10 Jun 2022)

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

  Log Message:
  -----------
  [SimplifyCFG] Share code to compute switch density between ShouldBuildLookupTable() and ReduceSwitchRange()

They're computing the same thing. No functionality change.

Differential revision: https://reviews.llvm.org/D127482




More information about the All-commits mailing list