This is an archive of the discontinued LLVM Phabricator instance.

Plumb InstructionCost through unrolling costing
ClosedPublic

Authored by reames on Jun 8 2022, 7:10 AM.

Details

Summary

Teach the unroller(s) how to handle an invalid cost. This is an extension of D127131 to the remaining cases.

Diff Detail

Event Timeline

reames created this revision.Jun 8 2022, 7:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2022, 7:10 AM
reames requested review of this revision.Jun 8 2022, 7:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2022, 7:10 AM

LGTM, but I'm not an expert in this particular area of code.

Although testing would be good. Same question around how to do that as in D127131, I guess?

This revision was not accepted when it landed; it landed in state Needs Review.Jun 9 2022, 3:43 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
reames added a comment.Jun 9 2022, 5:27 PM

Although testing would be good. Same question around how to do that as in D127131, I guess?

I landed this with a test added. Let me know if for any reason that doesn't satisfy your concern, and I'll follow up again.