This is an archive of the discontinued LLVM Phabricator instance.

[VE] Add VE support to update_llc_test_checks
ClosedPublic

Authored by simoll on Dec 21 2021, 5:13 AM.

Details

Summary

Add VE assembly scrubbing and triple support to update_llc_test_checks.

Diff Detail

Event Timeline

simoll created this revision.Dec 21 2021, 5:13 AM
simoll requested review of this revision.Dec 21 2021, 5:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 21 2021, 5:13 AM
kaz7 added inline comments.Dec 22 2021, 8:47 AM
llvm/utils/UpdateTestChecks/asm.py
170

Do you ever seen this (?:\s*\.?Lfunc_begin[^:\n]*:\n)?[^:]*? in the output?

I'm thinking that specifying only r'^_?(?P<func>[^:]+):[ \t]*#+[ \t]*@(?P=func)\n' is good enough for us.

simoll updated this revision to Diff 396001.Dec 23 2021, 2:04 AM

Remove func_begin match

simoll added inline comments.Dec 23 2021, 2:05 AM
llvm/utils/UpdateTestChecks/asm.py
170

I regenerated some tests with the shorter regex and it works fine.

kaz7 accepted this revision.Dec 23 2021, 4:26 AM

LGTM.

This revision is now accepted and ready to land.Dec 23 2021, 4:26 AM
This revision was landed with ongoing or failed builds.Dec 23 2021, 5:14 AM
This revision was automatically updated to reflect the committed changes.