diff options
author | Chris Lattner <sabre@nondot.org> | 2002-03-21 06:27:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-03-21 06:27:20 +0000 |
commit | 9e77f7e08b4241b810a3cccafb3d56dc256e0d1b (patch) | |
tree | 550c6ad6045d8da34d440a703feab2915f27fd03 /tools/gccas/gccas.cpp | |
parent | 8e86542fb698258a7feaa5703a1cf3918a7198fb (diff) |
Make ConvertableToGEP handle cases where the user is indexing into the
first element of a structure type. Before this would not be handled because
getStructOffset would either stop immediately (because StopEarly was true
and Offset = 0), or blast past the level we wanted.
Now ConvertableToGEP steps down through the type one level at a time, checking
the Offset and Scale conditions at each step
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1931 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gccas/gccas.cpp')
0 files changed, 0 insertions, 0 deletions