This is an archive of the discontinued LLVM Phabricator instance.

[ARM] Make testcase warning pattern match more specific
ClosedPublic

Authored by rs on Mar 25 2022, 8:58 AM.

Details

Summary

Make the warning more specific as downstream compilers could produce other warnings.

Diff Detail

Event Timeline

rs created this revision.Mar 25 2022, 8:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2022, 8:58 AM
rs requested review of this revision.Mar 25 2022, 8:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2022, 8:58 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
rs edited the summary of this revision. (Show Details)Mar 25 2022, 9:00 AM
tstellar added a comment.EditedMar 25 2022, 9:04 AM

The reason I used a minimal check string is because if the warning text changes at all, then the test becomes useless (this is the downside of using -NOT). I wonder if there is another way to test this that might be robust? If not, then I think this change is fine.

rs added a comment.Mar 25 2022, 10:25 AM

@tstellar thanks for the review. I can't really think of any other way to test this. I'll wait till Monday if no one else has suggested anything else then I'll commit it. Thanks again.

tstellar accepted this revision.Mar 25 2022, 11:02 AM
In D122487#3408425, @rs wrote:

@tstellar thanks for the review. I can't really think of any other way to test this. I'll wait till Monday if no one else has suggested anything else then I'll commit it. Thanks again.

OK, sounds good.

This revision is now accepted and ready to land.Mar 25 2022, 11:02 AM
This revision was automatically updated to reflect the committed changes.