]> granicus.if.org Git - clang/commit
[CodeGen] Reuse stack space from unused function results (with more accurate unused...
authorLeny Kholodov <lkholodov@accesssoftek.com>
Mon, 8 Jun 2015 10:23:49 +0000 (10:23 +0000)
committerLeny Kholodov <lkholodov@accesssoftek.com>
Mon, 8 Jun 2015 10:23:49 +0000 (10:23 +0000)
commit24f40a8c37670707ba1ba7da2fc150cf566e89b3
tree5ab41f1eeb209b9775ee696dd4faa9bdbaaba170
parent411fab5c85bea837c4a0b576421f80fdb0ccc6ae
[CodeGen] Reuse stack space from unused function results (with more accurate unused result detection)

This patch fixes issues with unused result detection which were found in patch http://reviews.llvm.org/D9743.

Differential Revision: http://reviews.llvm.org/D10042

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239294 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGCall.h
lib/CodeGen/CGExprAgg.cpp
test/CodeGenCXX/stack-reuse-miscompile.cpp [new file with mode: 0644]
test/CodeGenCXX/stack-reuse.cpp [new file with mode: 0644]