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
This commit is contained in:
Dan Gohman
2008-09-15 19:46:03 +00:00
parent f19063b33f
commit 5eb0cecbc5
3 changed files with 52 additions and 7 deletions

View File

@@ -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); }