diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2011-12-18 20:35:43 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2011-12-18 20:35:43 +0000 |
commit | d6cb7649d8827f6ac9602f95482c3ed2bca93100 (patch) | |
tree | 7cccd952712204ff05ac2c62781a56ccb725d3a4 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 530b820500984764a37d4a2fed68eb75e9f7693c (diff) | |
download | bcm5719-llvm-d6cb7649d8827f6ac9602f95482c3ed2bca93100.tar.gz bcm5719-llvm-d6cb7649d8827f6ac9602f95482c3ed2bca93100.zip |
Allow inlining of functions with returns_twice calls, if they have the
attribute themselve.
llvm-svn: 146851
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 3c950595b6d..aa6ef673571 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -452,7 +452,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { } // Determine if there is a call to setjmp in the machine function. - MF->setCallsSetJmp(Fn.callsFunctionThatReturnsTwice()); + MF->setExposesReturnsTwice(Fn.callsFunctionThatReturnsTwice()); // Replace forward-declared registers with the registers containing // the desired value. |