[llvm-bugs] [Bug 32316] Assertion `N1.getValueType() == N2.getValueType() && N1.getValueType() == VT && "Binary operator types must match!"' failed with -O1 -march=skx
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 17 10:54:57 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=32316
Sanjay Patel <spatel+llvm at rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Sanjay Patel <spatel+llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170317/addd956d/attachment.html>
More information about the llvm-bugs
mailing list