[all-commits] [llvm/llvm-project] 331111: Support BranchProbabilityInfo in update_analyze_te...

Matthias Braun via All-commits all-commits at lists.llvm.org
Tue Nov 21 17:08:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 331111277a3e80aedd1a6877524feadfbcb41a88
      https://github.com/llvm/llvm-project/commit/331111277a3e80aedd1a6877524feadfbcb41a88
  Author: Matthias Braun <matze at braunis.de>
  Date:   2023-11-21 (Tue, 21 Nov 2023)

  Changed paths:
    M llvm/lib/Analysis/BranchProbabilityInfo.cpp
    M llvm/test/Analysis/BranchProbabilityInfo/basic.ll
    M llvm/test/Analysis/BranchProbabilityInfo/pointer_heuristics.ll
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/branch-probability-analysis.ll
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/Inputs/branch-probability-analysis.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_analyze_test_checks/branch-probability-analysis.test
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  Support BranchProbabilityInfo in update_analyze_test_checks.py (#72943)

- Change `BranchProbabilityPrinterPass` output to match expectations of `update_analyze_test_checks.py`.
- Add `Branch Probability Analysis` to list of supported analyses.
- Process `llvm/test/Analysis/BranchProbabilityInfo/basic.ll` with `update_analyze_test_checks.py` as proof of concept. Leaving the other tests unchanged to reduce the amount of churn.




More information about the All-commits mailing list