[LLVMbugs] [Bug 709] NEW: mem* intrinsics are not 64 bit safe
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Feb 15 11:41:44 PST 2006
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=709
Summary: mem* intrinsics are not 64 bit safe
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: alenhar2 at uiuc.edu
The definition of the memcpy and friends do match the definition needed and used
on 64 bit hosts. the length field should be a ulong.
However, to stay consistent with the fixed type based on name, we need 2
intrinsics for each mem* intrinsic. A 32 bit version and a 64 bit version.
on alpha llvm.memcpy is void %llvm.memcpy(sbyte*, sbyte*, ulong, uint), whereas
SimplifyLibCalls was inserting llvm.memcpy(sbyte*, sbyte*, uint, uint) which is
not correct (but matches LangRef).
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list