Skip to content
New issue

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

X86 load folding bug #1312

Closed
lattner opened this issue Oct 8, 2006 · 2 comments
Closed

X86 load folding bug #1312

lattner opened this issue Oct 8, 2006 · 2 comments
Labels
backend:X86 bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead

Comments

@lattner
Copy link
Collaborator

lattner commented Oct 8, 2006

Bugzilla Link 940
Resolution FIXED
Resolved on Feb 22, 2010 12:47
Version 1.8
OS All
Blocks #1311
CC @asl

Extended Description

This testcase causes the X86 backend to select a legal dag into an illegal input to the scheduler. It's a
"load folding + flag" issue.

This breaks QT.

-Chris

void %_ZN13QFSFileEngine4readEPcx() {
%tmp201 = load int* null ; [#uses=1]
%tmp201 = cast int %tmp201 to long ; [#uses=1]
%tmp202 = load long* null ; [#uses=1]
%tmp203 = add long %tmp201, %tmp202 ; [#uses=1]
store long %tmp203, long* null
ret void
}

@llvmbot
Copy link
Collaborator

llvmbot commented Oct 10, 2006

Fixed in top of tree.

@llvmbot
Copy link
Collaborator

llvmbot commented Oct 10, 2006

*** Bug #1311 has been marked as a duplicate of this bug. ***

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
clementval added a commit to clementval/llvm-project that referenced this issue Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend:X86 bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead
Projects
None yet
Development

No branches or pull requests

2 participants