[llvm-commits] Review request: Hexagon hardware loops
Dmitri Gribenko
gribozavr at gmail.com
Sat Jan 5 08:39:03 PST 2013
On Sat, Jan 5, 2013 at 6:03 PM, Krzysztof Parzyszek
<kparzysz at codeaurora.org> wrote:
> This is a patch that significantly extends the functionality of the hardware
> loop generation on Hexagon. Main changes are
> - separation of the loop fixup pass into its own file,
> - handling of nearly arbitrary comparison instructions in loop latches,
> - handling of nearly arbitrary lower and upper iteration bounds.
>
> Please review.
+/// isHardwareLoop - Returns true if the instruction is a hardware loop
+/// instruction.
When adding new code please follow new doxygen guidelines which
recommend not to duplicate function and class names in the comment.
Just use \brief or \returns.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the llvm-commits
mailing list