OSDN Git Service

Fix a bug that caused globalopt to miscompile tramp3d: don't miss
authorDan Gohman <gohman@apple.com>
Tue, 18 Aug 2009 14:58:19 +0000 (14:58 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 18 Aug 2009 14:58:19 +0000 (14:58 +0000)
commit6874a2ae033b7b5e1d0c10714e01d9c87480956a
treece428698790658c836026f249449099e2447dac6
parent848c29396271b8255653b6c6b61b5482bd72c293
Fix a bug that caused globalopt to miscompile tramp3d: don't miss
unruly indices for arrays that are members of structs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79337 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp
test/Transforms/GlobalOpt/globalsra-unknown-index.ll [new file with mode: 0644]