[all-commits] [llvm/llvm-project] 754dc9: [RISCV] Move exact VLEN VLMAX transform to RISCVVe...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Jul 25 16:56:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 754dc9ff5ada14afef0d7981192d44f249f63e27
      https://github.com/llvm/llvm-project/commit/754dc9ff5ada14afef0d7981192d44f249f63e27
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp
    M llvm/test/CodeGen/RISCV/rvv/pr83017.ll
    M llvm/test/CodeGen/RISCV/rvv/pr90559.ll

  Log Message:
  -----------
  [RISCV] Move exact VLEN VLMAX transform to RISCVVectorPeephole (#100551)

We can teach RISCVVectorPeephole to detect when an AVL is equal to the
VLMAX when the exact VLEN is known and use the VLMAX sentinel instead,
and in doing so remove the need for getVLOp in RISCVISelLowering. This
keeps all the VLMAX logic in one place.



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