[all-commits] [llvm/llvm-project] 15c96d: [RISCV] Update unrelated bad code from test case

Michael Maitland via All-commits all-commits at lists.llvm.org
Wed Mar 19 11:10:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15c96d6874e8e37e583cf2994b290b9a6869cd30
      https://github.com/llvm/llvm-project/commit/15c96d6874e8e37e583cf2994b290b9a6869cd30
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M llvm/test/CodeGen/RISCV/push-pop-opt-crash.ll

  Log Message:
  -----------
  [RISCV] Update unrelated bad code from test case

In #131684, we found that the code generated a bnez zero, which is always
false. Since this is unrelated to the regression the test case was added for,
we change the IR here to avoid this test case from having this silly branching
pattern. This will help this test case avoid any changes as we do work to
optimize branches in the RISC-V backend.



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