Allow inlining of functions with returns_twice calls, if they have the
authorJoerg Sonnenberger <joerg@bec.de>
Sun, 18 Dec 2011 20:35:43 +0000 (20:35 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Sun, 18 Dec 2011 20:35:43 +0000 (20:35 +0000)
commit34706936412b9e9ff73511fed58e97bf6e100e69
tree8dd5690e4a2988b2c84baedc156af57496e320dd
parent2ea4cdb81f0f69f89d93f4726f25e849216ac973
Allow inlining of functions with returns_twice calls, if they have the
attribute themselve.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146851 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/CodeMetrics.h
include/llvm/CodeGen/MachineFunction.h
lib/Analysis/InlineCost.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/CodeGen/StackSlotColoring.cpp
test/Transforms/Inline/inline_returns_twice.ll [new file with mode: 0644]