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 | 791e12a20b8097a9986c06a9d400f419563d7542 (patch) | |
| tree | 4f5fefe12cb40aa66a64bb645792b7b7c712245e /include/llvm/CodeGen/SelectionDAGNodes.h | |
| parent | cd57c67c2cb481706b9116a9cad2140b86043a59 (diff) | |
| download | external_llvm-791e12a20b8097a9986c06a9d400f419563d7542.zip external_llvm-791e12a20b8097a9986c06a9d400f419563d7542.tar.gz external_llvm-791e12a20b8097a9986c06a9d400f419563d7542.tar.bz2 | |
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 85c4649..7cd9eef 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); } |
