[llvm-bugs] [Bug 44802] InstCombine unsafely drops zero extensions of shift amounts when combining shifts - miscompile

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 27 04:47:51 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=44802

Hans Wennborg <hans at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Hans Wennborg <hans at chromium.org> ---
(In reply to Hans Wennborg from comment #8)
> (In reply to Roman Lebedev from comment #7)
> > There was similar issue in foldShiftIntoShiftInAnotherHandOfAndInICmp(),
> > fixed that one too. I'm not seeing the problem elsewhere.
> > 
> > @Hans: all set as far as i'm concerned
> 
> Great! I'll let the fixes bake in master for a bit, and then merge them.

Pushed to 10.x as

77e448c0d3a87e7944381d7d53e55c997c8b936a
f115a88191c3dc80c5140fbbf63f74ca77fcc74b
ac293ede5e62cfc569f2d5d8f4667e6188afced0
b2b41bc3b51a083fb9e36e50d0131dfbd79e00ce

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200227/ab178035/attachment-0001.html>


More information about the llvm-bugs mailing list