[all-commits] [llvm/llvm-project] 2c0fc0: [DFAJumpThreading] Handle circular determinator (#...

XChy via All-commits all-commits at lists.llvm.org
Mon Jan 15 17:53:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c0fc0f37f29d54e0376a5e1f7cbb386a37a177d
      https://github.com/llvm/llvm-project/commit/2c0fc0f37f29d54e0376a5e1f7cbb386a37a177d
  Author: XChy <xxs_chy at outlook.com>
  Date:   2024-01-15 (Mon, 15 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DFAJumpThreading.cpp
    M llvm/test/Transforms/DFAJumpThreading/dfa-jump-threading-transform.ll

  Log Message:
  -----------
  [DFAJumpThreading] Handle circular determinator (#78177)

Fixes the buildbot failure in
https://github.com/llvm/llvm-project/pull/78134#issuecomment-1892195197
When we meet the path with single `determinator`, the determinator
actually takes itself as a predecessor. Thus, we need to let `Prev` be
the determinator when `PathBBs` has only one element.




More information about the All-commits mailing list