diff options
author | Dan Gohman <gohman@apple.com> | 2011-07-15 22:19:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2011-07-15 22:19:02 +0000 |
commit | ea0270298de4d2a4186454fc39a6836e99271f1d (patch) | |
tree | 0bae61a8eb496ff34c1260bfaf583a5d7a9d1a72 | |
parent | b4ddedce599183362b0f0333922c2fe0e163a129 (diff) | |
download | external_llvm-ea0270298de4d2a4186454fc39a6836e99271f1d.zip external_llvm-ea0270298de4d2a4186454fc39a6836e99271f1d.tar.gz external_llvm-ea0270298de4d2a4186454fc39a6836e99271f1d.tar.bz2 |
Delete an unused variable and a redundant assert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135311 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 418a4d4..288b9f7 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/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() { |