[PATCH] D12475: [LV] Pull creation of trip counts into a helper function.

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 30 04:05:59 PDT 2015


jmolloy created this revision.
jmolloy added reviewers: anemet, hfinkel, mzolotukhin.
jmolloy added a subscriber: llvm-commits.
jmolloy set the repository for this revision to rL LLVM.

... and do a tad of tidyup while we're at it. Because StartIdx must now be zero, there's no difference between Count and EndIdx.

Moving this to helper functions reduces the complexity of createEmptyLoop.

Repository:
  rL LLVM

http://reviews.llvm.org/D12475

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/debugloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12475.33529.patch
Type: text/x-patch
Size: 11911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150830/0986a258/attachment.bin>


More information about the llvm-commits mailing list