[all-commits] [llvm/llvm-project] 23d27d: [RISCV] Don't merge pseudo selects with stack adju...

Elizaveta Noskova via All-commits all-commits at lists.llvm.org
Wed Sep 24 01:46:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23d27d586f91b01cee2ba771af2f3385a2b70b07
      https://github.com/llvm/llvm-project/commit/23d27d586f91b01cee2ba771af2f3385a2b70b07
  Author: Elizaveta Noskova <159026035+enoskova-sc at users.noreply.github.com>
  Date:   2025-09-24 (Wed, 24 Sep 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    A llvm/test/CodeGen/RISCV/select-pseudo-merge-with-stack-adj.ll

  Log Message:
  -----------
  [RISCV] Don't merge pseudo selects with stack adjustment instrs in between (#160105)

When we have sequence of select pseudo instructions with stack adjustment
instructions in between, we shouldn't apply the optimization, proposed by link 
https://reviews.llvm.org/D59355. If optimization is applied, 
function won't be marked `adjustsStack` during Finalize ISel pass.



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