summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2011-07-15 22:19:02 +0000
committerDan Gohman <gohman@apple.com>2011-07-15 22:19:02 +0000
commit8c5ca645cef8474aa7ffd1ae5b9797749038ba20 (patch)
tree8c7b7a3a697d968d12c19b3ad7279f49ccda0ebe /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
parent43426f8fcbec3e6e2f1c9ac402f618dd72670904 (diff)
downloadbcm5719-llvm-8c5ca645cef8474aa7ffd1ae5b9797749038ba20.tar.gz
bcm5719-llvm-8c5ca645cef8474aa7ffd1ae5b9797749038ba20.zip
Delete an unused variable and a redundant assert.
llvm-svn: 135311
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 418a4d4ff09..288b9f76cc8 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -64,11 +64,6 @@ class SelectionDAGLegalize {
Expand // Try to expand this to other ops, otherwise use a libcall.
};
- /// ValueTypeActions - This is a bitvector that contains two bits for each
- /// value type, where the two bits correspond to the LegalizeAction enum.
- /// This can be queried with "getTypeAction(VT)".
- TargetLowering::ValueTypeActionImpl ValueTypeActions;
-
/// LegalizedNodes - For nodes that are of legal width, and that have more
/// than one use, this map indicates what regularized operand to use. This
/// allows us to avoid legalizing the same thing more than once.
@@ -219,10 +214,7 @@ SelectionDAGLegalize::ShuffleWithNarrowerEltType(EVT NVT, EVT VT, DebugLoc dl,
SelectionDAGLegalize::SelectionDAGLegalize(SelectionDAG &dag)
: TM(dag.getTarget()), TLI(dag.getTargetLoweringInfo()),
- DAG(dag),
- ValueTypeActions(TLI.getValueTypeActions()) {
- assert(MVT::LAST_VALUETYPE <= MVT::MAX_ALLOWED_VALUETYPE &&
- "Too many value types for ValueTypeActions to hold!");
+ DAG(dag) {
}
void SelectionDAGLegalize::LegalizeDAG() {
OpenPOWER on IntegriCloud