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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs