diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-04-29 21:52:13 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2016-04-29 21:52:13 +0000 |
commit | 701c21ea107280011c74cb0c41e9db9a3bd30cee (patch) | |
tree | 4dd56eacbc085b8b6c7b3a46c3b13cb4ff8e0279 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bf5ef7b63b8b7ed3c166041444355efd442fe6f4 (diff) | |
download | bcm5719-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