Commit f488b358 authored by Chris Lattner's avatar Chris Lattner
Browse files

Split the interesting bits of ConstantFoldLoadThroughGEPConstantExpr

out into a new ConstantFoldLoadThroughGEPIndices (more useful) function
and rewrite it to be simpler, more efficient, and to handle the new
ConstantDataSequential type.

Enhance ConstantFoldLoadFromConstPtr to handle ConstantDataSequential.

llvm-svn: 148786
parent 030af79b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment