When looking for a vector representation of a scalar, do a single lookup. Also, cache...
authorNadav Rotem <nrotem@apple.com>
Thu, 18 Oct 2012 17:31:49 +0000 (17:31 +0000)
committerNadav Rotem <nrotem@apple.com>
Thu, 18 Oct 2012 17:31:49 +0000 (17:31 +0000)
commita031c5741760e0b25bde48e83936a925d323c4d7
treeed53249e9462350b6d2e7f5a38f6574293b2fd2d
parent673c5215e104fdfcf7d636013e267e2e4e98cb5d
When looking for a vector representation of a scalar, do a single lookup. Also, cache the result of the broadcast instruction.
No functionality change.

llvm-svn: 166191
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp