[PATCH] D117968: [RISCV] Merge some rvv intrinsic test cases that only differ by XLen type.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 22 13:06:13 PST 2022


craig.topper created this revision.
craig.topper added reviewers: frasercrmck, khchen, eopXD, arcbbb, kito-cheng.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar, asb.
craig.topper requested review of this revision.
Herald added a subscriber: MaskRay.
Herald added a project: LLVM.

Instead of having a test for i32 XLen and i64 XLen, use sed to
replace iXLen with i32/i64 before running llc.

This change updates tests for intrinsics that operate exclusively
on mask values. It removes over 4000 lines worth of test content.
More merging will come in future changes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117968

Files:
  llvm/test/CodeGen/RISCV/rvv/vcpop-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vcpop-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vcpop.ll
  llvm/test/CodeGen/RISCV/rvv/vfirst-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vfirst-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vfirst.ll
  llvm/test/CodeGen/RISCV/rvv/vid-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vid-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vid.ll
  llvm/test/CodeGen/RISCV/rvv/viota-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/viota-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/viota.ll
  llvm/test/CodeGen/RISCV/rvv/vlm-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vlm-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vlm.ll
  llvm/test/CodeGen/RISCV/rvv/vmand-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmand-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmand.ll
  llvm/test/CodeGen/RISCV/rvv/vmandn-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmandn-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmandn.ll
  llvm/test/CodeGen/RISCV/rvv/vmclr-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmclr-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmclr.ll
  llvm/test/CodeGen/RISCV/rvv/vmnand-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmnand-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmnand.ll
  llvm/test/CodeGen/RISCV/rvv/vmnor-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmnor-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmnor.ll
  llvm/test/CodeGen/RISCV/rvv/vmor-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmor-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmor.ll
  llvm/test/CodeGen/RISCV/rvv/vmorn-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmorn-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmorn.ll
  llvm/test/CodeGen/RISCV/rvv/vmset-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmset-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmset.ll
  llvm/test/CodeGen/RISCV/rvv/vmsif-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmsif-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmsif.ll
  llvm/test/CodeGen/RISCV/rvv/vmsof-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmsof-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmsof.ll
  llvm/test/CodeGen/RISCV/rvv/vmxnor-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmxnor-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmxnor.ll
  llvm/test/CodeGen/RISCV/rvv/vmxor-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vmxor-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vmxor.ll
  llvm/test/CodeGen/RISCV/rvv/vsm-rv32.ll
  llvm/test/CodeGen/RISCV/rvv/vsm-rv64.ll
  llvm/test/CodeGen/RISCV/rvv/vsm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117968.402257.patch
Type: text/x-patch
Size: 310733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220122/605fab14/attachment-0001.bin>


More information about the llvm-commits mailing list