aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/CodeCoverage.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-09-08 20:24:10 +0000
committerHans Wennborg <hans@hanshq.net>2014-09-08 20:24:10 +0000
commit18f0a986c129c0d0cd4c038547a6bbb81a4803b7 (patch)
tree05ad9fa91a75a24cdec3f15b80acd0894552a049 /llvm/tools/llvm-cov/CodeCoverage.cpp
parent90452df7b159e67a56e3121eca5e64244f84556d (diff)
downloadllvm-18f0a986c129c0d0cd4c038547a6bbb81a4803b7.zip
llvm-18f0a986c129c0d0cd4c038547a6bbb81a4803b7.tar.gz
llvm-18f0a986c129c0d0cd4c038547a6bbb81a4803b7.tar.bz2
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 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions