[all-commits] [llvm/llvm-project] 01ee92: [RISCV] Add coverage for missing vrgather.vi shuff...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Apr 10 14:43:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01ee922b2abe905bc922bc809141cba2ad13157c
      https://github.com/llvm/llvm-project/commit/01ee922b2abe905bc922bc809141cba2ad13157c
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-int.ll

  Log Message:
  -----------
  [RISCV] Add coverage for missing vrgather.vi shuffle case

If we have a near identity shuffle with a single element repeated, we
manage to match this as a masked vrgather.vi for the two operand
forms, but not the single operand form.  If the scalar being repeated
was a scalar just inserted into the vector, we're also missing a
chance to recognize a vmerge.vxm or vmerge.vim in both cases.



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