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

Fix a bug in vectorization of if-converted reduction variables. If the

reduction variable is not used outside the loop then we ran into an
endless loop. This change checks if we found the original PHI.

llvm-svn: 169324
parent 3cb2cb80
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