[all-commits] [llvm/llvm-project] bd2109: [MachineBasicBlock] Don't split loop header succes...

Hongyu Chen via All-commits all-commits at lists.llvm.org
Wed Dec 3 07:56:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd21095d8ba0bff04f5718096601638ecf9270db
      https://github.com/llvm/llvm-project/commit/bd21095d8ba0bff04f5718096601638ecf9270db
  Author: Hongyu Chen <xxs_chy at outlook.com>
  Date:   2025-12-03 (Wed, 03 Dec 2025)

  Changed paths:
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    A llvm/test/CodeGen/NVPTX/switch-loop-header.mir
    A llvm/test/CodeGen/NVPTX/switch.ll

  Log Message:
  -----------
  [MachineBasicBlock] Don't split loop header successor if the terminator is unanalyzable (#170146)

Fixes https://github.com/llvm/llvm-project/issues/170051
The previous implementation allows splitting the successor if it's the
loop header, regardless of whether the terminator of `this` is
analyzable.



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