This is an archive of the discontinued LLVM Phabricator instance.

[NFC][LoopVectorize] Add zext/sext cost tests when there is type shrinkage
ClosedPublic

Authored by david-arm on Mar 29 2023, 6:31 AM.

Diff Detail

Event Timeline

david-arm created this revision.Mar 29 2023, 6:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 29 2023, 6:31 AM
david-arm requested review of this revision.Mar 29 2023, 6:31 AM
fhahn added inline comments.Apr 3 2023, 4:10 AM
llvm/test/Transforms/LoopVectorize/AArch64/type-shrinkage-zext-costs.ll
4

I think this needs ; REQUIRES: asserts, to make sure this only runs when -debug-only is available.

79

this check shouldn't be needed?

81

might be better called exit and move to end. Same as below.

169

this check shouldn't be needed?

fhahn accepted this revision.Apr 3 2023, 4:10 AM

LGTM with a few suggestions in line.

This revision is now accepted and ready to land.Apr 3 2023, 4:10 AM
david-arm updated this revision to Diff 510468.Apr 3 2023, 5:56 AM
  • Addressed review comments!
david-arm marked 4 inline comments as done.Apr 3 2023, 5:56 AM
david-arm added inline comments.
llvm/test/Transforms/LoopVectorize/AArch64/type-shrinkage-zext-costs.ll
4

Excellent point and you've happily prevented me from another face-palm moment when a buildbot breaks. :)

This revision was landed with ongoing or failed builds.Apr 3 2023, 6:12 AM
This revision was automatically updated to reflect the committed changes.
david-arm marked an inline comment as done.