[llvm-dev] How to assign variable of specific type into another meory address space (original) (raw)

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 10 04:27:32 PDT 2017


Perhaps you can refer to NVPTX backend, or just grep AddressSpace in lib/Target.

HTH, chenwj

2017-04-09 14:15 GMT+08:00 winter Liu via llvm-dev <llvm-dev at lists.llvm.org> :

Hi,

I'm working on a target which has two separate memory address space, one is for general data type, i.e., char, int, float, and so on, the other is allocated for vector type. Currently the compiler is ready for general types, but I have no idea of how to implement the rest. Due to separate address space, maybe another backend for vector type is a kind of solution. However, I don't think it's a good idea. Could you please give me some advice ? Yours, Winter


LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

--

-- Wei-Ren Chen (陳韋任) Homepage: https://people.cs.nctu.edu.tw/~chenwj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170410/b5de755d/attachment.html>



More information about the llvm-dev mailing list