[all-commits] [llvm/llvm-project] 32fc32: [SimplifyCFG] markAliveBlocks(): catchswitch: pres...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sat Jan 16 14:21:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32fc32317a31fc00e7e4086d6c93dd1eab75960c
      https://github.com/llvm/llvm-project/commit/32fc32317a31fc00e7e4086d6c93dd1eab75960c
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-01-17 (Sun, 17 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [SimplifyCFG] markAliveBlocks(): catchswitch: preserve PostDomTree

When removing catchpad's from catchswitch, if that removes a successor,
we need to record that in DomTreeUpdater.

This fixes PostDomTree preservation failure in an existing test.
This appears to be the single issue that i see in my current test coverage.




More information about the All-commits mailing list