]> granicus.if.org Git - clang/commit
Don't emit an unreachable return block.
authorJohn McCall <rjmccall@apple.com>
Wed, 10 Apr 2019 17:03:09 +0000 (17:03 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 10 Apr 2019 17:03:09 +0000 (17:03 +0000)
commit40afe0b6f2b39195e6c141d770b51a691c19000e
treeefabecafd1213512097030320a64875a6a3104fc
parent4d870265930ba70c7163fb3e1d1f85aa16ba9708
Don't emit an unreachable return block.

Patch by Brad Moody.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CodeGenFunction.cpp
test/CodeGen/unreachable-ret.c [new file with mode: 0644]
test/OpenMP/parallel_reduction_codegen.cpp