Skip to content
Commit e79841ad authored by Evan Cheng's avatar Evan Cheng
Browse files

Fix pr3571: If stride is a value defined by an instruction, make sure it...

Fix pr3571: If stride is a value defined by an instruction, make sure it dominates the loop preheader. When IV users are strength reduced, the stride is inserted into the preheader. It could create a use before def situation.

llvm-svn: 64579
parent 87f7ba35
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