diff options
author | John Criswell <criswell@uiuc.edu> | 2004-05-06 21:18:08 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-05-06 21:18:08 +0000 |
commit | 7775c1f1363ca92609f3529ea05bbaad88a09926 (patch) | |
tree | c5b7116f29aa724b5fc6d7cd5a9997f02e03e298 /lib/Support/CommandLine.cpp | |
parent | 817d8d304688457ce57296fa8c5c5f62b682aa74 (diff) |
Fix for PR#330.
When looking at getelementptr instructions, make sure to use a forwarded
type. We want to do this because a DerivedType may drop its uses and then
refine its users, who may then use another user who hasn't been refined yet.
By getting the forwarded type, we always ensure that we're looking at a
Type that isn't in a halfway refined state.
Now, I should be able to put this stuff in PATypeHandle, but it doesn't work
for some reason. This should do for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions