[all-commits] [llvm/llvm-project] 5d6cd6: [LoopSimplifyCFG] Delete landing pads in dead exit...

Yevgeny Rouban via All-commits all-commits at lists.llvm.org
Wed Jul 29 04:37:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d6cd61904aa03df6db4a5a33445d9af60cab0d5
      https://github.com/llvm/llvm-project/commit/5d6cd61904aa03df6db4a5a33445d9af60cab0d5
  Author: Yevgeny Rouban <yrouban at azul.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
    A llvm/test/Transforms/LoopSimplifyCFG/handle_dead_exits.ll

  Log Message:
  -----------
  [LoopSimplifyCFG] Delete landing pads in dead exit blocks

In addition to removing phi nodes this patch removes any
landing pad that the dead exit block might have. Without
this fix Verifier complains about a new switch instruction
jumps to a block with a landing pad.

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




More information about the All-commits mailing list