[all-commits] [llvm/llvm-project] e9205c: [SimplifyCFG] Remove all incoming values from Othe...

dianqk via All-commits all-commits at lists.llvm.org
Thu Oct 9 15:44:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9205ca8cf4235647c3ec2a1946850751ce4e1c8
      https://github.com/llvm/llvm-project/commit/e9205ca8cf4235647c3ec2a1946850751ce4e1c8
  Author: dianqk <dianqk at dianqk.net>
  Date:   2025-10-10 (Fri, 10 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
    M llvm/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll

  Log Message:
  -----------
  [SimplifyCFG] Remove all incoming values from OtherDest if OtherDest is unreachable (#162677)

Fixes #162585.

#161000 changed `br i1 true, label %if, label %else` to `br label %if`,
so we should remove one more incoming value.



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