Skip to content
Commit cf0dcdc7 authored by Nadav Rotem's avatar Nadav Rotem
Browse files

When we vectorize across multiple basic blocks we may vectorize PHINodes that...

When we vectorize across multiple basic blocks we may vectorize PHINodes that create a cycle. We already break the cycle on phi-nodes, but arithmetic operations are still uplicated. This patch adds code that checks if the operation that we are vectorizing was vectorized during the visit of the operands and uses this value if it can.

llvm-svn: 186883
parent 6c655f23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment