bader added a comment.

@pekka.jaaskelainen, I have related question: what is the problem with 
retaining OpenCL address space information in LLVM IR?
My understanding is that target CodeGen can ignore this information for the 
machines with 'flat' address space model.
On the other hand I would expect this information be useful for the Optimizer 
to resolve pointer aliasing.
Does it make any sense to keep OpenCL address space information in LLVM IR 
generated for the machines with 'flat' address space (e.g. CPU)?


Repository:
  rL LLVM

https://reviews.llvm.org/D26157



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to