diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-10-05 20:05:00 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-10-05 20:05:00 +0000 |
commit | e37e0301372667edae46092b5bef93a6cd3e0e3a (patch) | |
tree | d7acc2f85a34c7241edd1863f491e4a4f92c0c08 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9b1311df26041d76129d933f7eec796f559b88c9 (diff) | |
download | llvm-e37e0301372667edae46092b5bef93a6cd3e0e3a.zip llvm-e37e0301372667edae46092b5bef93a6cd3e0e3a.tar.gz llvm-e37e0301372667edae46092b5bef93a6cd3e0e3a.tar.bz2 |
Update InstCombine worklist after instruction transform is complete.
When updating the worklist for InstCombine, the Add/AddUsersToWorklist
functions may access the instruction(s) being added, for debug output for
example. If the instructions aren't yet added to the basic block, this
can result in a crash. Finish the instruction transformation before
adjusting the worklist instead.
rdar://10238555
llvm-svn: 141203
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions