[all-commits] [llvm/llvm-project] f64f76: Bail out jump threading on indirect branches (#103...

AdityaK via All-commits all-commits at lists.llvm.org
Mon Dec 2 00:35:28 PST 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: f64f76feab83859b37b7fa5de3d4bba9a446e72b
      https://github.com/llvm/llvm-project/commit/f64f76feab83859b37b7fa5de3d4bba9a446e72b
  Author: AdityaK <hiraditya at msn.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/SimplifyCFG/switch-branch-fold-indirectbr-102351.ll

  Log Message:
  -----------
  Bail out jump threading on indirect branches (#103688)

The bug was introduced by
https://github.com/llvm/llvm-project/pull/68473

Fixes: #102351
(cherry picked from commit 3c9022c965b85951f30af140da591f819acef8a0)


  Commit: 321f0dd2008160b674c010425133bebc586392e7
      https://github.com/llvm/llvm-project/commit/321f0dd2008160b674c010425133bebc586392e7
  Author: AdityaK <hiraditya at msn.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/SimplifyCFG/switch-branch-fold-indirectbr-102351.ll

  Log Message:
  -----------
  Bail out jump threading on indirect branches only (#117778)

Remove check for PHI in pred as pointed out in #103688
Reduced the testcase to remove redundant phi in pred

Fixes: #102351
(cherry picked from commit 39601a6e5484de183bf525b7d0624e7890ccd8ab)


Compare: https://github.com/llvm/llvm-project/compare/dc665fa5f5b8...321f0dd20081

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list