From 791e12a20b8097a9986c06a9d400f419563d7542 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 15 Sep 2008 19:46:03 +0000 Subject: 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 --- include/llvm/CodeGen/SelectionDAGNodes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h') 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); } -- cgit v1.1