[LLVMbugs] [Bug 8671] Incorrect code generation using opt for arch x86
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 23 08:02:44 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8671
Duncan Sands <baldrick at free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Duncan Sands <baldrick at free.fr> 2010-11-23 10:02:44 CST ---
The function @retzerosec takes two arguments, as seen here:
define void @retzerosec(%struct.U1* noalias sret %agg.result, %struct.U1* byval
align 4 %ux) nounwind {
But when you call it you only pass one argument, as seen here:
call void (%struct.U1*, ...)* bitcast (void (%struct.U1*, %struct.U1*)*
@retzerosec to void (%struct.U1*, ...)*)(%struct.U1* noalias sret %temp)
nounwind
This results in undefined behaviour such as you are seeing.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list