[all-commits] [llvm/llvm-project] f7988a: [AMDGPU][SIPreEmitPeephole] Fix mustRetainExeczBra...

Mirko Brkušanin via All-commits all-commits at lists.llvm.org
Tue Dec 17 02:47:59 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7988a338ddb53b03e7cb89d839616925bd0ade1
      https://github.com/llvm/llvm-project/commit/f7988a338ddb53b03e7cb89d839616925bd0ade1
  Author: Mirko Brkušanin <Mirko.Brkusanin at amd.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
    A llvm/test/CodeGen/AMDGPU/remove-not-short-exec-branch-on-unconditional-jump.mir

  Log Message:
  -----------
  [AMDGPU][SIPreEmitPeephole] Fix mustRetainExeczBranch (#120121)

Do not remove S_CBRANCH_EXECZ if one of the following blocks contains an
unconditional branch to a block other than the one immediately following
it. This can cause unwanted behavior like infinite loops.



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