[all-commits] [llvm/llvm-project] 39c165: [JumpThreading] Conditionally freeze its condition...

Juneyoung Lee via All-commits all-commits at lists.llvm.org
Wed Sep 9 23:50:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 39c1653b3dbb7d1c439a3e8cf31d1aa159a4afc5
      https://github.com/llvm/llvm-project/commit/39c1653b3dbb7d1c439a3e8cf31d1aa159a4afc5
  Author: Juneyoung Lee <aqjune at gmail.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar.h
    M llvm/include/llvm/Transforms/Scalar/JumpThreading.h
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    A llvm/test/Transforms/JumpThreading/select-unfold-freeze.ll

  Log Message:
  -----------
  [JumpThreading] Conditionally freeze its condition when unfolding select

This patch fixes pr45956 (https://bugs.llvm.org/show_bug.cgi?id=45956 ).
To minimize its impact to the quality of generated code, I suggest enabling
this only for LTO as a start (it has two JumpThreading passes registered).
This patch contains a flag that makes JumpThreading enable it.

Reviewed By: efriedma

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




More information about the All-commits mailing list