From: Xin Tong Date: Mon, 19 Jun 2017 20:10:41 +0000 (+0000) Subject: [BDCE] Add comments. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b06e406fa7de198d4979625ef90673533f631047;p=llvm [BDCE] Add comments. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305739 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DemandedBits.cpp b/lib/Analysis/DemandedBits.cpp index 8f808f3e787..926b28d6094 100644 --- a/lib/Analysis/DemandedBits.cpp +++ b/lib/Analysis/DemandedBits.cpp @@ -107,6 +107,8 @@ void DemandedBits::determineLiveOperandBits( AB = AOut.byteSwap(); break; case Intrinsic::bitreverse: + // The alive bits of the input are the reversed alive bits of + // the output. AB = AOut.reverseBits(); break; case Intrinsic::ctlz: