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

LoopVectorizer: Fix a bug in the code that updates the loop exiting block.

LCSSA PHIs may have undef values. The vectorizer updates values that are used by outside users such as PHIs.
The bug happened because undefs are not loop values. This patch handles these PHIs.

PR14725

llvm-svn: 171251
parent 56bf2e18
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