[all-commits] [llvm/llvm-project] a0be08: [NFC][SimplifyCFG] removeEmptyCleanup(): use Basic...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Wed May 19 04:09:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0be08164622bf938855ff5d19dd8e9d0c96b9b3
      https://github.com/llvm/llvm-project/commit/a0be08164622bf938855ff5d19dd8e9d0c96b9b3
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

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

  Log Message:
  -----------
  [NFC][SimplifyCFG] removeEmptyCleanup(): use BasicBlock::phis()


  Commit: bb5d613aba347c3ab3fcbf1507c22d2301f5b47d
      https://github.com/llvm/llvm-project/commit/bb5d613aba347c3ab3fcbf1507c22d2301f5b47d
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

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

  Log Message:
  -----------
  [NFCI][SimplifyCFG] removeEmptyCleanup(): streamline PHI node updating


  Commit: 8c2b535d6c38d1a54c5a23301325112f00a341f7
      https://github.com/llvm/llvm-project/commit/8c2b535d6c38d1a54c5a23301325112f00a341f7
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-19 (Wed, 19 May 2021)

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

  Log Message:
  -----------
  [NFCI][SimplifyCFG] removeEmptyCleanup(): use DeleteDeadBlock()

This required some changes to, instead of eagerly making PHI's
in the UnwindDest valid as-if the BB is already not a predecessor,
to be valid while BB is still a predecessor.


Compare: https://github.com/llvm/llvm-project/compare/c1eaa1168a90...8c2b535d6c38


More information about the All-commits mailing list