diff options
| author | Craig Topper <craig.topper@gmail.com> | 2017-01-24 02:10:15 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2017-01-24 02:10:15 +0000 |
| commit | 9028f0556d24266cc76996319735531ddf2b71b1 (patch) | |
| tree | fbeb1ed4f9bbabd51393f45c3f873e10022f5fec /llvm/lib/CodeGen | |
| parent | ea2dc026686ac21ad44e52519198b147ac5cf11a (diff) | |
| download | bcm5719-llvm-9028f0556d24266cc76996319735531ddf2b71b1.tar.gz bcm5719-llvm-9028f0556d24266cc76996319735531ddf2b71b1.zip | |
[APInt] Remove calls to clearUnusedBits from XorSlowCase and operator^=
Summary:
There's a comment in XorSlowCase that says "0^0==1" which isn't true. 0 xored with 0 is still 0. So I don't think we need to clear any unused bits here.
Now there is no difference between XorSlowCase and AndSlowCase/OrSlowCase other than the operation being performed
Reviewers: majnemer, MatzeB, chandlerc, bkramer
Reviewed By: MatzeB
Subscribers: chfast, llvm-commits
Differential Revision: https://reviews.llvm.org/D28986
llvm-svn: 292873
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

