[all-commits] [llvm/llvm-project] 897798: [RISCV] Increase complexity of RVV element extract...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Sun Jul 10 19:54:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 897798944941202ef54735183d2620b21e32214f
      https://github.com/llvm/llvm-project/commit/897798944941202ef54735183d2620b21e32214f
  Author: Pengcheng Wang <wpc337719 at alibaba-inc.com>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td

  Log Message:
  -----------
  [RISCV] Increase complexity of RVV element extraction patterns

Somehow some tests failed in our downstream because it matched
VFMV+FSD pattern first. Both FSD and VSE patterns have the same
complexity, while FSD is matched before VSE in the generated
matcher table.

This problem only occurs in our downstream (so sorry that I can't
provide a test here) and increasing the value of `AddedComplexity`
can fix it.

Reviewed By: StephenFan, craig.topper

Differential Revision: https://reviews.llvm.org/D129360




More information about the All-commits mailing list