[llvm-bugs] [Bug 48608] Failure to optimize popcount of a single bit

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 28 13:38:37 PST 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
 Fixed By Commit(s)|                            |236c452

--- Comment #2 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Metadata doesn't provide what we need. I used a ValueTracking call instead.
Should be fixed with:
https://reviews.llvm.org/rG236c4524a7cd

It looks like gcc still does more, so please open a new bug if more popcount
optimizations are expected/needed.

-- 
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/20201228/35a1c93f/attachment.html>


More information about the llvm-bugs mailing list