[all-commits] [llvm/llvm-project] 503d57: [JumpThreading][NFCI] Reuse existing DT instead of...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Sun May 29 22:50:44 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 503d5771b6c5e3544a9fa3be6b8d085ffbbd4057
      https://github.com/llvm/llvm-project/commit/503d5771b6c5e3544a9fa3be6b8d085ffbbd4057
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2022-05-30 (Mon, 30 May 2022)

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

  Log Message:
  -----------
  [JumpThreading][NFCI] Reuse existing DT instead of recomputation

This whole part with recomputation of BPI and BFI looks redundant,
and we tried to get rid of it in D124439. Unfortunately, it causes
some hard-to-reproduce failures due to invalid state of analysis.
Until this is investigated and fixed, let's try to reuse at least
part of available analyzes.

DT is available at this point, and there is no need to recompute it.

Please revert if you see it causing *any* behavior changes.




More information about the All-commits mailing list