This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add basic code modeling for llvm.experimental.stepvector intrinsic
ClosedPublic

Authored by liaolucy on Mar 30 2022, 11:19 PM.

Details

Summary

Scalable vectors llvm.experimental.stepvector intrinsic
will crash due to an invalid cost when run the code through the loopunroll.

Diff Detail

Event Timeline

liaolucy created this revision.Mar 30 2022, 11:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 30 2022, 11:19 PM
liaolucy requested review of this revision.Mar 30 2022, 11:19 PM
kito-cheng accepted this revision.Apr 8 2022, 1:16 AM

The cost model might not the best, but that prevent crash due to invalid cost, I believe we can keep improve that later.

This revision is now accepted and ready to land.Apr 8 2022, 1:16 AM
liaolucy updated this revision to Diff 421822.Apr 10 2022, 7:17 PM

Thanks Kito. Rebase

This revision was landed with ongoing or failed builds.Apr 10 2022, 7:19 PM
This revision was automatically updated to reflect the committed changes.