diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-12-07 15:31:12 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-12-07 15:31:12 +0000 |
commit | ff79f31328154777a527cd58f567d00c1df0d2ec (patch) | |
tree | 1961ae5419d0aaaaea05733170d92adbe1921f60 /llvm/lib/CodeGen/SelectionDAG | |
parent | b421ef237036375945b1801a4e3bfd97f5b225df (diff) | |
download | bcm5719-llvm-ff79f31328154777a527cd58f567d00c1df0d2ec.tar.gz bcm5719-llvm-ff79f31328154777a527cd58f567d00c1df0d2ec.zip |
[SelectionDAG] Removed old knownbits TODO comment. NFCI.
EXTRACT_VECTOR_ELT does support demanded elts if the element index is known and in range.
llvm-svn: 288913
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index f8e9fa21636..66c4a5d2af1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -2562,9 +2562,6 @@ void SelectionDAG::computeKnownBits(SDValue Op, APInt &KnownZero, break; } case ISD::EXTRACT_VECTOR_ELT: { - // At the moment we keep this simple and skip tracking the specific - // element. This way we get the lowest common denominator for all elements - // of the vector. SDValue InVec = Op.getOperand(0); SDValue EltNo = Op.getOperand(1); EVT VecVT = InVec.getValueType(); |