diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-09-08 20:24:10 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-09-08 20:24:10 +0000 |
commit | 18f0a986c129c0d0cd4c038547a6bbb81a4803b7 (patch) | |
tree | 05ad9fa91a75a24cdec3f15b80acd0894552a049 /clang/lib/Serialization/ASTWriter.cpp | |
parent | 90452df7b159e67a56e3121eca5e64244f84556d (diff) | |
download | bcm5719-llvm-18f0a986c129c0d0cd4c038547a6bbb81a4803b7.tar.gz bcm5719-llvm-18f0a986c129c0d0cd4c038547a6bbb81a4803b7.zip |
Fast-ISel: Remove dead code after falling back from selecting call instructions (PR20863)
Previously, fast-isel would not clean up after failing to select a call
instruction, because it would have called flushLocalValueMap() which moves
the insertion point, making SavedInsertPt in selectInstruction() invalid.
Fixing this by making SavedInsertPt a member variable, and having
flushLocalValueMap() update it.
This removes some redundant code at -O0, and more importantly fixes PR20863.
Differential Revision: http://reviews.llvm.org/D5249
llvm-svn: 217401
Diffstat (limited to 'clang/lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions