[all-commits] [llvm/llvm-project] 0e9956: Revert "[JumpThreading] Preserve profile metadata ...

Dmitri Gribenko via All-commits all-commits at lists.llvm.org
Tue Jan 10 02:55:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e9956204db3802ac94a7727bf2fe35c753cc8f5
      https://github.com/llvm/llvm-project/commit/0e9956204db3802ac94a7727bf2fe35c753cc8f5
  Author: Dmitri Gribenko <gribozavr at gmail.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/test/Transforms/JumpThreading/select.ll

  Log Message:
  -----------
  Revert "[JumpThreading] Preserve profile metadata during select unfolding"

This reverts commit 957952dbf2f34ed552e8e1f8c35eed17eee2ea38.

Addition in the newly added code can overflow.  As a result, the
constructor of `BranchProbability()` can trigger an assertion. See
the discussion on https://reviews.llvm.org/D138132 for more details.




More information about the All-commits mailing list