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

Roman Lebedev <[email protected]> changed:

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

--- Comment #3 from Roman Lebedev <[email protected]> ---
(In reply to Sanjay Patel from comment #2)
> IR is now:
> define i8 @and_0(i32 %0, i8 %1) {
>   %3 = zext i8 %1 to i32
>   %4 = shl nsw i32 -1, %3
>   %5 = xor i32 %4, -1
>   %6 = and i32 %5, %0
>   %7 = trunc i32 %6 to i8
>   ret i8 %7
> }
> 
> 
> And the x86 backend sees it as 'bzhi' when allowed. Fixed?

I think we can consider this fixed, yes.
Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to