[all-commits] [llvm/llvm-project] ee8b53: [BranchProbability] move options for 'likely' and ...

RotateRight via All-commits all-commits at lists.llvm.org
Sat Mar 20 11:49:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee8b53815ddf6f6f94ade0068903cd5ae843fafa
      https://github.com/llvm/llvm-project/commit/ee8b53815ddf6f6f94ade0068903cd5ae843fafa
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-03-20 (Sat, 20 Mar 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    M llvm/include/llvm/Support/BranchProbability.h
    M llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
    M llvm/lib/Support/BranchProbability.cpp
    M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp

  Log Message:
  -----------
  [BranchProbability] move options for 'likely' and 'unlikely'

This makes the settings available for use in other passes by housing
them within the Support lib, but NFC otherwise.

See D98898 for the proposed usage in SimplifyCFG
(where this change was originally included).

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




More information about the All-commits mailing list