This is an archive of the discontinued LLVM Phabricator instance.

[lit][REQUIRES] Fix some tests with incorrect REQUIRES clauses
ClosedPublic

Authored by probinson on Oct 24 2022, 8:50 AM.

Details

Summary

These weren't running anywhere because of bad specifications.
One test has bit-rotted and had to be XFAILed, the rest are okay.

Diff Detail

Event Timeline

probinson created this revision.Oct 24 2022, 8:50 AM
probinson requested review of this revision.Oct 24 2022, 8:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 24 2022, 8:50 AM
jhenderson added inline comments.Oct 25 2022, 12:55 AM
llvm/test/Analysis/BasicAA/cs-cs-arm.ll
3–4

Have you raised a bug for this?

llvm/test/CodeGen/Hexagon/abi-padding-2.ll
2

I'm not familiar with these tests, so this might be a silly question, but why isn't this required? Is it in the lit config?

probinson added inline comments.Oct 25 2022, 6:40 AM
llvm/test/Analysis/BasicAA/cs-cs-arm.ll
3–4

Not yet. I was hoping someone who understood the test would provide guidance. If that's not happening, I will raise a bug when this goes in.

llvm/test/CodeGen/Hexagon/abi-padding-2.ll
2

Yes, test/CodeGen/Hexagon already marks the entire directory as unsupported unless hexagon is enabled. If it didn't, then this would have changed to hexagon-registered-target.

jhenderson accepted this revision.Oct 26 2022, 12:20 AM

Okay, looks good from my point of view, but probably worth giving a bit of time for someone to have a chance to comment on the bit-rotted test.

This revision is now accepted and ready to land.Oct 26 2022, 12:20 AM
This revision was automatically updated to reflect the committed changes.
probinson marked an inline comment as done.
probinson added inline comments.Nov 1 2022, 1:52 PM
llvm/test/Analysis/BasicAA/cs-cs-arm.ll
3–4
ikudrin added a subscriber: ikudrin.Nov 5 2022, 1:55 AM
ikudrin added inline comments.
llvm/test/MC/AsmParser/layout-interdependency.s
2

Actually, this should be object-emission instead, because not all default targets can generate object files (see D121996 for other examples).

probinson marked an inline comment as done.Nov 5 2022, 2:38 PM
probinson added inline comments.
llvm/test/MC/AsmParser/layout-interdependency.s
2

Thanks! fixed in rG38c07d9