[all-commits] [llvm/llvm-project] f20619: [RISCV] More explicitly check that combineOp_VLToV...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Nov 6 10:17:08 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f20619c610f58e04633b1b053f323fe46a30c8d1
      https://github.com/llvm/llvm-project/commit/f20619c610f58e04633b1b053f323fe46a30c8d1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/vscale-vw-web-simplification.ll

  Log Message:
  -----------
  [RISCV] More explicitly check that combineOp_VLToVWOp_VL removes the extends it is supposed to. (#166710)

If we visit multiple root nodes, make sure the strategy chosen
for other nodes includes the nodes we've already committed to remove.
    
This can occur if have add/sub nodes where one operand is a zext
and the other is a sext. We might see that the nodes share a common
extension but pick a strategy that doesn't share it.



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