https://bugs.llvm.org/show_bug.cgi?id=32316
Sanjay Patel <spatel+l...@rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Sanjay Patel <spatel+l...@rotateright.com> ---
Should be fixed after:
https://reviews.llvm.org/rL298107
The output may not be optimal though (should have chosen adc with 0 instead of
sbb with -1?). Please file another bug if that's a concern:
xorl %eax, %eax
cmpb $0, b(%rip)
sete %al
movzbl c(%rip), %ecx
cmpl %ecx, %eax
seta %al
cmpb $1, a(%rip)
sbbb $-1, %al
movb %al, d(%rip)
retq
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs