aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-02-16 17:01:52 +0000
committerJames Molloy <james.molloy@arm.com>2015-02-16 17:01:52 +0000
commit4c7deb2259cc12fc7f70f71eec76bebc8dfaf727 (patch)
tree78b296497fcdc60f5cbc9130aa4e9ec03e7a1a10 /llvm/lib/Support/StringRef.cpp
parent3a002255e3439f6b02d789f5ccc1a6dab67a6c8c (diff)
downloadllvm-4c7deb2259cc12fc7f70f71eec76bebc8dfaf727.zip
llvm-4c7deb2259cc12fc7f70f71eec76bebc8dfaf727.tar.gz
llvm-4c7deb2259cc12fc7f70f71eec76bebc8dfaf727.tar.bz2
[LoopReroll] Don't crash on dead code
If a PHI has no users, don't crash; bail gracefully. This shouldn't happen often, but we can make no guarantees that previous passes didn't leave dead code around. llvm-svn: 229405
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions