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

Fix GlobalOpt to avoid committing a store if the address getelementptr

is missing the inbounds flag. This is slightly conservative, but it
avoids problems with two constants pointing to the same address but
getting distinct entries in the Memory DenseMap.

llvm-svn: 81163
parent 19244eaa
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