]> granicus.if.org Git - llvm/commit
[LV] Merge floating-point and integer induction widening code
authorMatthew Simpson <mssimpso@codeaurora.org>
Fri, 24 Feb 2017 18:20:12 +0000 (18:20 +0000)
committerMatthew Simpson <mssimpso@codeaurora.org>
Fri, 24 Feb 2017 18:20:12 +0000 (18:20 +0000)
commitaceef6fa371e3bf7c4b684d60d982488d6575334
tree0579aead88e83693013f7e7b3c081bc398da8637
parentab05c2009de0fc1759efb0a44e412afdb1a14ebb
[LV] Merge floating-point and integer induction widening code

This patch merges the existing floating-point induction variable widening code
into the integer induction variable widening code, creating a single set of
functions for both kinds of inductions. The primary motivation for doing this
is to enable vector phi node creation for floating-point induction variables.

Differential Revision: https://reviews.llvm.org/D30211

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296145 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/float-induction.ll