diff options
author | Xin Tong <trent.xin.tong@gmail.com> | 2017-06-19 20:10:41 +0000 |
---|---|---|
committer | Xin Tong <trent.xin.tong@gmail.com> | 2017-06-19 20:10:41 +0000 |
commit | bb8dbcf9151f56af4a44e5b03cbdfd3c7e6f0670 (patch) | |
tree | 6aa24bb0e5b1dd1630c62cf16099a4220dbe7a37 /llvm/lib/Analysis/DemandedBits.cpp | |
parent | 7f2876a68bee783256c146535e7303eae35e35ca (diff) | |
download | bcm5719-llvm-bb8dbcf9151f56af4a44e5b03cbdfd3c7e6f0670.tar.gz bcm5719-llvm-bb8dbcf9151f56af4a44e5b03cbdfd3c7e6f0670.zip |
[BDCE] Add comments. NFC
llvm-svn: 305739
Diffstat (limited to 'llvm/lib/Analysis/DemandedBits.cpp')
-rw-r--r-- | llvm/lib/Analysis/DemandedBits.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DemandedBits.cpp b/llvm/lib/Analysis/DemandedBits.cpp index 8f808f3e787..926b28d6094 100644 --- a/llvm/lib/Analysis/DemandedBits.cpp +++ b/llvm/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: |