From e48d9e8efef3607506b519f7fc28819130dbde24 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 14 May 2014 08:00:07 +0000 Subject: Update the comments for ComputeMaskedBits, which lost its Mask parameter in r154011. llvm-svn: 208757 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/CodeGen/SelectionDAG') diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4bf147730bf..62a2317d34f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1812,10 +1812,9 @@ bool SelectionDAG::MaskedValueIsZero(SDValue Op, const APInt &Mask, return (KnownZero & Mask) == Mask; } -/// ComputeMaskedBits - Determine which of the bits specified in Mask are +/// ComputeMaskedBits - Determine which bits of Op are /// known to be either zero or one and return them in the KnownZero/KnownOne -/// bitsets. This code only analyzes bits in Mask, in order to short-circuit -/// processing. +/// bitsets. void SelectionDAG::ComputeMaskedBits(SDValue Op, APInt &KnownZero, APInt &KnownOne, unsigned Depth) const { const TargetLowering *TLI = TM.getTargetLowering(); -- cgit v1.2.3