aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-06-01 23:16:53 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-06-01 23:16:53 +0000
commit4b6eeb9ca26a414e6e4c0a226402cb32c0c87b45 (patch)
treee704b8e62360f1fdd78c1573080d2ac394c409e2 /clang/lib/Frontend/CompilerInvocation.cpp
parente7181b5fdb590c90ec1f559b148d3aa2d546a320 (diff)
downloadllvm-4b6eeb9ca26a414e6e4c0a226402cb32c0c87b45.zip
llvm-4b6eeb9ca26a414e6e4c0a226402cb32c0c87b45.tar.gz
llvm-4b6eeb9ca26a414e6e4c0a226402cb32c0c87b45.tar.bz2
In MemoryDependenceAnalysis::getNonLocalPointerDepFromBB, if a given block is is deemed unanalyzable (and we execute one of the "goto PredTranslationFailure" statements), make sure we don't put information about the predecessors of that block into the returned data structures; this can lead to, among other things, extraneous results (which will confuse passes using memdep). Fixes an assert in GVN compiling ruby. Part of rdar://problem/9521954 .
Testcase coming up soon. llvm-svn: 132434
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions