[vectorizer] Simplify code to use existing helpers on the Function
authorChandler Carruth <chandlerc@gmail.com>
Mon, 27 Jan 2014 11:27:37 +0000 (11:27 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 27 Jan 2014 11:27:37 +0000 (11:27 +0000)
commit91a3f1dc8ef69d17cdf81ea3e1214e6e7c127d83
tree2d5b1e2f428c9e797d1f3938731606b747f8b05f
parent424b2b00931496f61260f8e114538bd0c4b7252a
[vectorizer] Simplify code to use existing helpers on the Function
object and fewer pointless variables.

Also, add a clarifying comment and a FIXME because the code which
disables *all* vectorization if we can't use implicit floating point
instructions just makes no sense at all.

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