[all-commits] [llvm/llvm-project] 8b42bc: [SelectOpti][3/5] Base Heuristics

Sotiris Apostolakis via All-commits all-commits at lists.llvm.org
Mon May 23 19:02:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b42bc5662ca13c97746b7301bd503b2662dc444
      https://github.com/llvm/llvm-project/commit/8b42bc5662ca13c97746b7301bd503b2662dc444
  Author: Sotiris Apostolakis <apostolakis at google.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectOptimize.cpp
    M llvm/test/CodeGen/X86/select-optimize.ll

  Log Message:
  -----------
  [SelectOpti][3/5] Base Heuristics

This patch adds the base heuristics for determining whether branches are more profitable than conditional moves.
Base heuristics apply to all code apart from inner-most loops.

Depends on D122259

Reviewed By: davidxl

Differential Revision: https://reviews.llvm.org/D120231




More information about the All-commits mailing list