This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Divide tests into smaller files
ClosedPublic

Authored by 4vtomat on Mar 3 2022, 8:14 PM.

Details

Summary

Solved issue 54168
This commit divides the large test files(over 30k lines) under clang/test/CodeGen/RISCV including:

  • rvv-intrinsics/vloxseg.c
  • rvv-intrinsics/vluxseg.c
  • rvv-intrinsics-overloaded/vloxseg.c
  • rvv-intrinsics-overloaded/vluxseg.c

into "non-masked" version and "masked" version which can reduce the test cases by 50% in a single file.

Diff Detail

Event Timeline

4vtomat created this revision.Mar 3 2022, 8:14 PM
4vtomat requested review of this revision.Mar 3 2022, 8:14 PM
4vtomat edited the summary of this revision. (Show Details)Mar 3 2022, 8:58 PM
kito-cheng accepted this revision.EditedMar 3 2022, 10:51 PM
kito-cheng added a subscriber: kito-cheng.

LGTM, but do you mind give more comment on SUMMARY to describe what you did?

This revision is now accepted and ready to land.Mar 3 2022, 10:51 PM
4vtomat edited the summary of this revision. (Show Details)Mar 3 2022, 11:00 PM

LGTM, but do you mind give more comment on SUMMARY to describe what you did?

You are right lol. I've added some~

fhahn accepted this revision.Mar 4 2022, 3:15 AM

Thanks for splitting up the tests! Looks like pre-commit CI is happy again!

This revision was automatically updated to reflect the committed changes.
jrtc27 added a comment.Mar 4 2022, 9:16 AM

With one exception, every RISC-V Clang CodeGen test (and with 9 exceptions, every RISC-V LLVM CodeGen test) is kebab-case not snake_case