This is an archive of the discontinued LLVM Phabricator instance.

Made loop_proto more "vectorizable"
ClosedPublic

Authored by emmettneyman on Jun 7 2018, 5:18 PM.

Details

Summary

Edited loop_proto and its converter to make more "vectorizable" code according to kcc's comment in D47666

  • Removed all while loops
  • Can only index into array with induction variable

Diff Detail

Repository
rC Clang

Event Timeline

emmettneyman created this revision.Jun 7 2018, 5:18 PM
emmettneyman edited the summary of this revision. (Show Details)Jun 7 2018, 5:22 PM
morehouse accepted this revision.Jun 7 2018, 5:33 PM

Looks like a good start.

This revision is now accepted and ready to land.Jun 7 2018, 5:33 PM
This revision was automatically updated to reflect the committed changes.