[PATCH] D41050: Fix over-release of return value of lambda implicitly converted to block/function pointer
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 13 16:25:57 PST 2017
rjmccall added a comment.
In https://reviews.llvm.org/D41050#953917, @danzimm wrote:
> Change tests to use non-O2 generated IR. It looks like the combined objc_retainAutoreleasedReturnValue/objc_autoreleaseReturnValue calls annihilate each other and we just get a call/ret.
Is that really happening at -O0? Maybe you need to add -disable-llvm-optzns to the test line if so.
Repository:
rC Clang
https://reviews.llvm.org/D41050
More information about the cfe-commits
mailing list