X86 load folding bug #1312
Labels
backend:X86
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
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
}
The text was updated successfully, but these errors were encountered: