aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-14 07:45:46 +0000
committerChris Lattner <sabre@nondot.org>2005-05-14 07:45:46 +0000
commit3e01136f9fc2e1db9207d278002e76e6175783e9 (patch)
treeed8abbb9beb0a83863262c9beaea4b70be49edfe /lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent385328ce416e2b98d7113a75d9413a56a2b10318 (diff)
remove special case hacks for readport/readio from the binary operator
codepath git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index bfaca1de14..c3889dd7ff 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1215,12 +1215,7 @@ SDOperand SelectionDAG::getNode(unsigned Opcode, MVT::ValueType VT,
N = new SDNode(Opcode, N1, N2);
}
-
- if (Opcode != ISD::READPORT && Opcode != ISD::READIO)
- N->setValueTypes(VT);
- else
- N->setValueTypes(VT, MVT::Other);
-
+ N->setValueTypes(VT);
AllNodes.push_back(N);
return SDOperand(N, 0);
}