[LLVMdev] [PATCH] Split LoopUnroll pass into mechanism and policy

Matthijs Kooijman matthijs at stdin.nl
Fri May 9 05:33:01 PDT 2008


Hi All,

> The new code seems to work on an adhoc test case, but there seems to be a
> problem with one of the standard testcases. I'll solve that later today. For
> now, please review the patch :-)
new patch is attached. There was a small logic error, which is now fixed by
making getSmallConstantTripMultiple return 1 when it doesn't have any useful
result (instead of 0). Makes more sense, since the trip count is always a
multiple of 1 :-)

This only leaves one failing test case (test/CodeGen/X86/vec_set-5.ll), but I
don't think it's related to this patch.

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unroll-split.diff
Type: text/x-diff
Size: 31753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080509/7c154c8c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080509/7c154c8c/attachment.sig>


More information about the llvm-dev mailing list