commit | 2c91d102ec29bc766b7172a3062d399dc12640fe | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue Jan 06 22:53:52 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue Jan 06 22:53:52 2009 +0000 |
tree | b98481838c8f6a38f1ac8ba0227b2965333a8281 | |
parent | 5d315989542ffe720d9a835010bd7be957e6a830 [diff] |
Fix a bug in ComputeLinearIndex computation handling multi-level aggregate types. Don't increment the current index after reaching the end of a struct, as it will already be pointing at one-past-the end. This fixes PR3288. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61828 91177308-0d34-0410-b5e6-96231b3b80d8