winter Liu via llvm-dev
2017-Apr-09 06:15 UTC
[llvm-dev] How to assign variable of specific type into another meory address space
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170409/b2a90b5c/attachment.html>
陳韋任 via llvm-dev
2017-Apr-10 11:27 UTC
[llvm-dev] How to assign variable of specific type into another meory address space
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>