[llvm-bugs] [Bug 49543] [InstCombine] Failure to fold sext(trunc(ashr(x, bw-1)) -> sext(ashr(x, bw-1)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 3 11:27:28 PDT 2021


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

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
           See Also|                            |https://bugs.llvm.org/show_
                   |                            |bug.cgi?id=50575
         Resolution|---                         |FIXED

--- Comment #7 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Filed the 'lshr' pattern as bug 50575.
The example pasted in the description is transformed into that (ashr->lshr). 

But the bug title and the example in the godbolt link in the description are
different and should be fixed with:
https://reviews.llvm.org/rGb865eead7657

So I think it's ok to close this one, but feel free to reopen or file new bugs
to track other items.

-- 
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/20210603/86c36ad3/attachment.html>


More information about the llvm-bugs mailing list