[all-commits] [llvm/llvm-project] 7282a3: [RISCV] Don't iterate SEW set again for floating-p...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Sun Jun 11 21:07:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7282a37ff194885ef4aad0a68ad54011d43466b4
      https://github.com/llvm/llvm-project/commit/7282a37ff194885ef4aad0a68ad54011d43466b4
  Author: wangpc <pc.wang at linux.alibaba.com>
  Date:   2023-06-12 (Mon, 12 Jun 2023)

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

  Log Message:
  -----------
  [RISCV] Don't iterate SEW set again for floating-point

We have already iterated over `FPList`, so there is no need to get
and loop over SEW set again. Or we will generate some useless pseudo
instructions like `PseudoXXX_VF16_M1_E64`.

We add SEW to FPR_Info so that we can get it later. And we rewrite
FPR_Info to reduce arguments incidentally.

This should reduce the size of files generated by TableGen.

Reviewed By: craig.topper

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




More information about the All-commits mailing list