Correct over-zealous removal of hack.
authorBill Wendling <isanbard@gmail.com>
Mon, 17 Oct 2011 18:43:40 +0000 (18:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 17 Oct 2011 18:43:40 +0000 (18:43 +0000)
commit3c5e60994f53eef2808a33b5ca6c3dffc2168054
treef77554018088b20adc18a5aca234db259071c838
parent8f3af87e99b9556224480f1aa18d340fb343bbf6
Correct over-zealous removal of hack.

Some code want to check that *any* call within a function has the 'returns
twice' attribute, not just that the current function has one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142221 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Function.h
lib/Analysis/InlineCost.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/Transforms/Scalar/TailRecursionElimination.cpp
lib/VMCore/Function.cpp
test/Transforms/TailCallElim/setjmp.ll