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

Canonicalize indices in a constantexpr GEP. If Indices exceed the

static extents of the static array type, it causes GlobalOpt and
other passes to be more conservative. This canonicalization also
allows the constant folder to add "inbounds" to GEPs.

llvm-svn: 79440
parent ac33a906
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