This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by craig.topper on Jan 22 2022, 1:06 PM.

Details

Summary

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.

I would have just committed this, but I didn't want to block the patch to "experimental" from the command lines. I'll rebase after that.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 22 2022, 1:06 PM
craig.topper requested review of this revision.Jan 22 2022, 1:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 22 2022, 1:06 PM
Herald added a subscriber: MaskRay. · View Herald Transcript
craig.topper edited the summary of this revision. (Show Details)Jan 22 2022, 1:07 PM
eopXD accepted this revision.Jan 22 2022, 8:36 PM

LGTM. Maybe I can also help on reducing test cases for other test cases since it might be pretty tedious.

This revision is now accepted and ready to land.Jan 22 2022, 8:36 PM
llvm/test/CodeGen/RISCV/rvv/vmxor.ll