We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For this code: bb122: %tmp124 = ptrtoint %struct.TypHeader* %hdR to bool %i.3.in.in = select bool %tmp124, %struct.TypHeader* %hdR, %struct.TypHeader* %hdL %hdR_addr.0 = select bool %tmp124, %struct.TypHeader* %hdL, %struct.TypHeader* %hdR
llc is generating: .BB1_3: #bb122 movl %eax, %ebx # TRUNCATE movb %bl, %bl testb %bl, %bl movl %eax, %edi cmovne %esi, %edi testb %bl, %bl cmovne %eax, %esi
It looks like the recent DAGCombiner changes missed a case for the select instruction.
Test cases will be attached.
The text was updated successfully, but these errors were encountered:
Fixed, patch here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061127/040313.html
-Chris
Sorry, something went wrong.
No branches or pull requests
Extended Description
For this code:
bb122:
%tmp124 = ptrtoint %struct.TypHeader* %hdR to bool
%i.3.in.in = select bool %tmp124, %struct.TypHeader* %hdR, %struct.TypHeader* %hdL
%hdR_addr.0 = select bool %tmp124, %struct.TypHeader* %hdL, %struct.TypHeader*
%hdR
llc is generating:
.BB1_3: #bb122
movl %eax, %ebx
# TRUNCATE movb %bl, %bl
testb %bl, %bl
movl %eax, %edi
cmovne %esi, %edi
testb %bl, %bl
cmovne %eax, %esi
It looks like the recent DAGCombiner changes missed a case for the select
instruction.
Test cases will be attached.
The text was updated successfully, but these errors were encountered: