OSDN Git Service

iLoopVectorize: Non commutative operators can be used as reduction variables as long...
authorNadav Rotem <nrotem@apple.com>
Sat, 5 Jan 2013 01:15:47 +0000 (01:15 +0000)
committerNadav Rotem <nrotem@apple.com>
Sat, 5 Jan 2013 01:15:47 +0000 (01:15 +0000)
commitd5b92c389133c5d587e4094af553ec345ed40045
tree9e365b772b10da4ddd31d3043157cf2a0332e9db
parentf7737b5baad59f5352d21ef77bb2e2a767e9ed0f
iLoopVectorize: Non commutative operators can be used as reduction variables as long as the reduction chain is used in the LHS.

PR14803.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171583 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/gcc-examples.ll
test/Transforms/LoopVectorize/reduction.ll