[LLVMbugs] [Bug 7437] New: Address space not being correctly preserved
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 21 08:00:34 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7437
Summary: Address space not being correctly preserved
Product: new-bugs
Version: 2.7
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: mike.gist at imgtec.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5074)
--> (http://llvm.org/bugs/attachment.cgi?id=5074)
Example code
When loading and storing data from/to an element of an array, which is a member
of a struct, who's address is held in an address space qualified pointer, the
address space is sometimes lost.
It appears this happens if the struct is first copied to the stack in the
original code. This is then optimised out by the compiler but the address space
isn't correctly applied to the pointer during this optimisation.
See attached code for an example.
--
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