Fix a crash that happens when mapping something like this:
authorChris Lattner <sabre@nondot.org>
Tue, 15 Mar 2005 21:36:50 +0000 (21:36 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 15 Mar 2005 21:36:50 +0000 (21:36 +0000)
commit4d5af8e894e97eeb6268120f4b7ab464c8a9aeee
treec2f3a150f3e8ed3e92b58b686d0686f41bb8d541
parentf23e3a2d382254c338e4bfb2337ce4ad1e45e27e
Fix a crash that happens when mapping something like this:

 { short, short }

to
  short

where the second short maps onto the second field of the first struct.  In
this case, the struct index is not aligned, so we should avoid calling
getLink(2), which asserts out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20626 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/DataStructure/DataStructure.cpp