summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2017-04-28 06:28:56 +0000
committerCraig Topper <craig.topper@gmail.com>2017-04-28 06:28:56 +0000
commitf42b23f7d8cc7c2e9c760354a8b6e61c846406b1 (patch)
treee67e1723364b42e75717260200068e95c036c0f4 /llvm/lib/CodeGen/SelectionDAG
parent531db9a5046a6bd06c2f0dfadcc933ad070068fb (diff)
downloadbcm5719-llvm-f42b23f7d8cc7c2e9c760354a8b6e61c846406b1.tar.gz
bcm5719-llvm-f42b23f7d8cc7c2e9c760354a8b6e61c846406b1.zip
[ValueTracking] Convert computeKnownBitsFromRangeMetadata to use KnownBits struct.
llvm-svn: 301626
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index a246ec87863..05ac837430a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -2395,7 +2395,7 @@ void SelectionDAG::computeKnownBits(SDValue Op, KnownBits &Known,
Known.Zero.setBitsFrom(MemBits);
} else if (const MDNode *Ranges = LD->getRanges()) {
if (LD->getExtensionType() == ISD::NON_EXTLOAD)
- computeKnownBitsFromRangeMetadata(*Ranges, Known.Zero, Known.One);
+ computeKnownBitsFromRangeMetadata(*Ranges, Known);
}
break;
}
OpenPOWER on IntegriCloud