aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-05-06 21:18:08 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-05-06 21:18:08 +0000
commitf6709bc5795f0af48c29668c95b5b10e12d41a94 (patch)
treebc86c134cd121cb35a0dfb757973438585ce898c /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent8737169a6a5e8ab05bfe5e632fc4ce8e776ebc08 (diff)
downloadllvm-f6709bc5795f0af48c29668c95b5b10e12d41a94.zip
llvm-f6709bc5795f0af48c29668c95b5b10e12d41a94.tar.gz
llvm-f6709bc5795f0af48c29668c95b5b10e12d41a94.tar.bz2
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. llvm-svn: 13386
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions