diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-01-08 19:03:10 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-01-08 19:03:10 +0000 |
commit | 021eaef04403b480ccd1e3aefb2c32875fcd6342 (patch) | |
tree | f5cff15d1a144b2497f97f3f7215d6dadce9858f /llvm/lib/Support/GraphWriter.cpp | |
parent | e89539f71134c20465a103b99eb36cf9c38cdbf3 (diff) | |
download | bcm5719-llvm-021eaef04403b480ccd1e3aefb2c32875fcd6342.tar.gz bcm5719-llvm-021eaef04403b480ccd1e3aefb2c32875fcd6342.zip |
Fix a crash in our error reporting
AF = dyn_cast<SCEVAddRecExpr>(Pair.second) may be NULL for some SCEVs that we do
not support. When reporting the error we still want to pass a pointer that is
known to always be non-NULL.
I do not yet have a test case for this, unfortunately.
llvm-svn: 225461
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions