[all-commits] [llvm/llvm-project] 05e950: [RISCV] Update combine-vmv.ll to have more foldabl...

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Jul 24 04:06:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05e95067eeaaf4bac820d10abe146db49925a195
      https://github.com/llvm/llvm-project/commit/05e95067eeaaf4bac820d10abe146db49925a195
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-24 (Wed, 24 Jul 2024)

  Changed paths:
    R llvm/test/CodeGen/RISCV/rvv/combine-vmv.ll
    A llvm/test/CodeGen/RISCV/rvv/vmv.v.v-peephole.ll

  Log Message:
  -----------
  [RISCV] Update combine-vmv.ll to have more foldable cases. NFC

A lot of cases have differing AVLs which aren't foldable, update them so the peephole triggers on them and add explicit cases for non-foldable AVLs.

Also rename it to vmv.v.v-peephole.ll since it's not actually a DAG combine.

And remove a TODO, it's correct to fold if the two passthrus are the same.



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