[Patch] [AArch64] Implement getMaximumUnrollFactor()

Jiangning Liu liujiangning1 at gmail.com
Tue Apr 8 22:30:25 PDT 2014


Hi Zhaoshi,

+;CHECK-LABEL: array_add
+;CHECK: load <4 x i32>
+;CHECK: load <4 x i32>
+;CHECK: load <4 x i32>
+;CHECK: load <4 x i32>
+;CHECK: add nsw <4 x i32>
+;CHECK: add nsw <4 x i32>
+;CHECK: store <4 x i32>
+;CHECK: store <4 x i32>
+;CHECK: ret

Since we don't really have out-of-order CHECK, this CHECK ordering could
fail after loop unrolling in theory, right? Maybe simply checking there are
only two stores like below is enough?

;CHECK: store <4 x i32>
;CHECK: store <4 x i32>
;CHECK-NOT: store

Thanks,
-Jiangning



2014-04-08 9:26 GMT+08:00 <zhaoshiz at codeaurora.org>:

> Hello,
>
> This patch allows vectorized loops to be unrolled by a factor of 2 on
> AArch64. Please help review
>
> Thanks,
> Zhaoshi
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>


-- 
Thanks,
-Jiangning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140409/132aef46/attachment.html>


More information about the llvm-commits mailing list