HomePhabricator

[RISCV] Refactor some rvv instructions' definition with foreach.

Authored by jacquesguan on Nov 8 2021, 6:15 PM.

Description

[RISCV] Refactor some rvv instructions' definition with foreach.

Simplify rvv instructions that use eew in their mnemonic and encoding with foreach. And fix a scheduling bug.

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