[all-commits] [llvm/llvm-project] 111a02: [JumpThreading] Fold br(freeze(undef))

Juneyoung Lee via All-commits all-commits at lists.llvm.org
Wed Jul 29 17:39:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 111a02decd4f4ed1cf3995dd0010a6238b542914
      https://github.com/llvm/llvm-project/commit/111a02decd4f4ed1cf3995dd0010a6238b542914
  Author: Juneyoung Lee <aqjune at gmail.com>
  Date:   2020-07-30 (Thu, 30 Jul 2020)

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

  Log Message:
  -----------
  [JumpThreading] Fold br(freeze(undef))

This patch makes JumpThreading fold br(freeze(undef)) if the freeze instruction
is only used by the branch.

Reviewed By: efriedma

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




More information about the All-commits mailing list