This is an archive of the discontinued LLVM Phabricator instance.

[NFC][PowerPC] Fix the check-cpu.ll test case.
ClosedPublic

Authored by stefanp on Feb 22 2022, 12:54 PM.

Details

Reviewers
lei
nemanjai
Group Reviewers
Restricted Project
Commits
rGb3e63ee2e5bd: [NFC][PowerPC] Fix the check-cpu.ll test case.
Summary

This test doesn't work because the CHECK-NOT line is actually checking
something that only exists on stderr and not stdout.
Changed the test so that we now check both stderr and stdout.
Changed the test so that we check pwr9, pwr10, and future. The cpu names of
power9 or power10 are not supported in the llc backend.

Diff Detail

Event Timeline

stefanp created this revision.Feb 22 2022, 12:54 PM
stefanp requested review of this revision.Feb 22 2022, 12:54 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2022, 12:54 PM
stefanp added a reviewer: Restricted Project.Feb 22 2022, 12:54 PM
nemanjai accepted this revision.Feb 23 2022, 2:06 AM

LGTM.

This revision is now accepted and ready to land.Feb 23 2022, 2:06 AM
This revision was landed with ongoing or failed builds.Feb 23 2022, 12:09 PM
This revision was automatically updated to reflect the committed changes.