[all-commits] [llvm/llvm-project] d242b5: [SimpleLoopUnswitch] turnGuardIntoBranch use BB ut...

Joshua Cao via All-commits all-commits at lists.llvm.org
Wed May 17 21:46:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d242b52d0e477171f3f6b957bafece88edb88a4f
      https://github.com/llvm/llvm-project/commit/d242b52d0e477171f3f6b957bafece88edb88a4f
  Author: Joshua Cao <cao.joshua at yahoo.com>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp

  Log Message:
  -----------
  [SimpleLoopUnswitch] turnGuardIntoBranch use BB utils to update DT

turnGuardIntoBranch() can use splitBlockAndInsertIfThen to update the
DominatorTree rather than implementing it itself.




More information about the All-commits mailing list