summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-12-07 15:31:12 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-12-07 15:31:12 +0000
commitff79f31328154777a527cd58f567d00c1df0d2ec (patch)
tree1961ae5419d0aaaaea05733170d92adbe1921f60 /llvm/lib/CodeGen/SelectionDAG
parentb421ef237036375945b1801a4e3bfd97f5b225df (diff)
downloadbcm5719-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.cpp3
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();
OpenPOWER on IntegriCloud