summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2016-04-29 21:52:13 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2016-04-29 21:52:13 +0000
commit701c21ea107280011c74cb0c41e9db9a3bd30cee (patch)
tree4dd56eacbc085b8b6c7b3a46c3b13cb4ff8e0279 /clang/lib/Frontend/CompilerInvocation.cpp
parentbf5ef7b63b8b7ed3c166041444355efd442fe6f4 (diff)
downloadbcm5719-llvm-701c21ea107280011c74cb0c41e9db9a3bd30cee.tar.gz
bcm5719-llvm-701c21ea107280011c74cb0c41e9db9a3bd30cee.zip
AMDGPU: Fix crash with unreachable terminators.
If a block has no successors because it ends in unreachable, this was accessing an invalid iterator. Also stop counting instructions that don't emit any real instructions. llvm-svn: 268119
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud