[llvm-bugs] [Bug 40214] [X86] clang::targets::X86TargetInfo::isCLZForZeroUndef should be BMI/LZCNT aware

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jan 3 13:36:12 PST 2019


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

Simon Pilgrim <llvm-dev at redking.me.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #6 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
(In reply to Craig Topper from comment #5)
> We already have bmi and lzcnt ia32 builtins.

Dammit, thanks - this thing has been driving me nuts and it was all over a dumb
typo - __builtin_clzll vs __builtin_ia32_lzcnt_u64!

-- 
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/20190103/477e779e/attachment.html>


More information about the llvm-bugs mailing list