diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-15 19:46:03 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-15 19:46:03 +0000 |
commit | 5eb0cecbc5dd370e33d4e0ab1abee7ce8597ca9c (patch) | |
tree | 4f5fefe12cb40aa66a64bb645792b7b7c712245e /include/llvm/CodeGen/SelectionDAGNodes.h | |
parent | f19063b33f69dd4c1087f98e7b4d8a9a1155229a (diff) |
Re-enable SelectionDAG CSE for calls. It matters in the case of
libcalls, as in this testcase on ARM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 85c464965d..7cd9eef2ab 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -2205,7 +2205,8 @@ public: /// Set this call to not be marked as a tail call. Normally setter /// methods in SDNodes are unsafe because it breaks the CSE map, - /// but we don't CSE calls so it's ok in this case. + /// but we don't include the tail call flag for calls so it's ok + /// in this case. void setNotTailCall() { IsTailCall = false; } SDValue getChain() const { return getOperand(0); } |