This is an archive of the discontinued LLVM Phabricator instance.

[ARM] make execute only long call test checks more robust
ClosedPublic

Authored by stuij on Jul 3 2023, 8:09 AM.

Diff Detail

Event Timeline

stuij created this revision.Jul 3 2023, 8:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 8:09 AM
stuij requested review of this revision.Jul 3 2023, 8:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 3 2023, 8:09 AM
dmgreen added a subscriber: dmgreen.Jul 3 2023, 8:22 AM
dmgreen added inline comments.
llvm/test/CodeGen/Thumb/thumb-execute-only-long-calls.ll
1

I would remove the -arm- vendor from the triple instead. Hopefully removing the vendor triple would remove any downstream changes, if that is what you are running into?

stuij updated this revision to Diff 536813.Jul 3 2023, 10:04 AM
stuij marked an inline comment as done.

address review comments

olista01 accepted this revision.Jul 4 2023, 1:46 AM

One comment which would improve the robustness a bit more, other than that LGTM.

llvm/test/CodeGen/Thumb/thumb-execute-only-long-calls.ll
6

I'd suggest removing the "0_0" here (and on line 8) so that it gets included by the regex, and the test won't fail if the label numbering changes.

This revision is now accepted and ready to land.Jul 4 2023, 1:46 AM
stuij updated this revision to Diff 536995.Jul 4 2023, 2:05 AM

address review comment

stuij marked an inline comment as done.Jul 4 2023, 2:05 AM
This revision was landed with ongoing or failed builds.Jul 4 2023, 2:52 AM
This revision was automatically updated to reflect the committed changes.