diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-06-01 23:16:53 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-06-01 23:16:53 +0000 |
commit | fc09797426894602355d248edb174676ec7fd560 (patch) | |
tree | 5e2514a58d408e2517f388079870a4fda1e0e4ef /lib/CodeGen/MachineVerifier.cpp | |
parent | 4ada1d791028041a6609128a8a4f3b5ebf1c837b (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions