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

Another folding problem: if a node r/w chain or flag, don't fold it if it

has already been selected. The number of use check is not strong enough since
a node can be replaced with newly created target node. e.g. If the original
node has two uses, when it is selected for one of the uses it is replaced with
another. Each node now has a single use but isel still should not fold it.

llvm-svn: 25651
parent 67e0189f
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