[all-commits] [llvm/llvm-project] c467fa: [WinEH] Ignore lifetime.end PHI nodes in empty cle...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Thu Jan 23 18:19:27 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c467faf23c7abda60cfd5486a39ffadd6f546d5c
      https://github.com/llvm/llvm-project/commit/c467faf23c7abda60cfd5486a39ffadd6f546d5c
  Author: Andy Kaylor <andrew.kaylor at intel.com>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/empty-cleanuppad.ll

  Log Message:
  -----------
  [WinEH] Ignore lifetime.end PHI nodes in empty cleanuppads

This fixes a bug where a PHI node that is only referenced by a lifetime.end intrinsic in an otherwise empty cleanuppad can cause SimplyCFG to create an SSA violation while removing the empty cleanuppad. Theoretically the same problem can occur with debug intrinsics.

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




More information about the All-commits mailing list