This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Add test for extractelt of vector types that should be split.
ClosedPublic

Authored by jacquesguan on Sep 27 2022, 1:51 AM.

Diff Detail

Event Timeline

jacquesguan created this revision.Sep 27 2022, 1:51 AM
jacquesguan requested review of this revision.Sep 27 2022, 1:51 AM
reames accepted this revision.Sep 27 2022, 7:21 AM

LGTM w/suggestion.

llvm/test/CodeGen/RISCV/rvv/extractelt-fp.ll
603

Can you add a test for vscale x 16 - 1 as the index? (Or anything else guaranteed to land in the second lmul8 register after splitting.)

This revision is now accepted and ready to land.Sep 27 2022, 7:21 AM

address comment.

frasercrmck retitled this revision from [RISCV][NFC] Add test for extractelt of vector types that should be splitted. to [RISCV][NFC] Add test for extractelt of vector types that should be split..Sep 27 2022, 10:31 PM