[PATCH] [LoopVectorize] Detect correctly if vectorizer will create a tail loop

Marianne Mailhot-Sarrasin marianne.mailhot-sarrasin at octasic.com
Mon Jun 22 12:17:21 PDT 2015


I have added it in the patch.

From: Nadav Rotem [mailto:nrotem at apple.com]
Sent: June-22-15 1:21 PM
To: Marianne Mailhot-Sarrasin
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [PATCH] [LoopVectorize] Detect correctly if vectorizer will create a tail loop

Hi Marianne,

Can you please provide a testcase for this fix?

Thanks,
Nadav


On Jun 22, 2015, at 7:01 AM, Marianne Mailhot-Sarrasin <marianne.mailhot-sarrasin at octasic.com<mailto:marianne.mailhot-sarrasin at octasic.com>> wrote:

Hi,

Here is a simple bug fix. With option OptForSize enabled, the Loop Vectorizer is not supposed to create tail loop. The condition checking that was invalid and was not matching to the comment above.

Could someone please review and commit if valid ?

Thanks,
Marianne
<LoopVectorize.patch>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150622/da9b20cf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LoopVectorize.patch
Type: application/octet-stream
Size: 2370 bytes
Desc: LoopVectorize.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150622/da9b20cf/attachment.obj>


More information about the llvm-commits mailing list