Skip to content
Commit c59ba42b authored by Dan Gohman's avatar Dan Gohman
Browse files

Fix a bug in the over-index constant folding. When over-indexing an

array member of a struct, it's possible to land in an arbitrary position
inside that struct, such that attempting to find further getelementptr
indices will fail. In such cases, folding cannot be done.

llvm-svn: 79485
parent 1d764f61
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