Teach instcombine to respect and preserve inbounds. Add inbounds
authorDan Gohman <gohman@apple.com>
Tue, 28 Jul 2009 01:40:03 +0000 (01:40 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 28 Jul 2009 01:40:03 +0000 (01:40 +0000)
commit31a9b9880b8641b0a9e1f5182c45fbf76f732764
treee4035b5ecab96f6e4b55cab794c00b997390c142
parent38a579fe5accb8f74263ab7189bdef359f103862
Teach instcombine to respect and preserve inbounds. Add inbounds
to a few tests where it is required for the expected transformation.

llvm-svn: 77290
llvm/lib/Analysis/ScalarEvolutionExpander.cpp
llvm/lib/Transforms/Scalar/InstructionCombining.cpp
llvm/test/Transforms/InstCombine/2008-02-04-GEPIdxBug.ll
llvm/test/Transforms/InstCombine/getelementptr-setcc.ll
llvm/test/Transforms/InstCombine/getelementptr-seteq.ll