[cfe-users] Question: is there a converter from IR to OpenCL?

2016-09-26 Thread Hugh Perkins via cfe-users
Question: is there a converter from IR to OpenCL? I know there are SPIR-V converters around. But SPIR-V is not very supported yet. IR written as OpenCL should probably be really ugly, but maybe useable-ish? ___ cfe-users mailing list cfe-users@lists.ll

Re: [cfe-users] How to emit device-side IR when compiling CUDA?

2016-09-26 Thread Hugh Perkins via cfe-users
( found it: --cuda-device-only cool :-) ) On Tue, Sep 27, 2016 at 12:17 AM, Hugh Perkins wrote: > I'm trying: > > clang++-3.8 -I/usr/local/cuda-7.5/include llvm-sample.cu -emit-llvm -S -o > llvm-sample.ll > > This seems to emit host-side IR only? > _

[cfe-users] How to emit device-side IR when compiling CUDA?

2016-09-26 Thread Hugh Perkins via cfe-users
I'm trying: clang++-3.8 -I/usr/local/cuda-7.5/include llvm-sample.cu -emit-llvm -S -o llvm-sample.ll This seems to emit host-side IR only? ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users

[cfe-users] objc object file generated for gnustep runtime for ELF target is too big

2016-09-26 Thread Perevalov Alexey via cfe-users
Dear community, I'm using gnustep runtime -fobjc-runtime=gnustep with gnustep-libobjc2 (https://github.com/gnustep/libobjc2) and Cocotron/Chameleon. For following source file #import #import int main(void) {     NSString *str = [NSString

Re: [cfe-users] objc object file generated for gnustep runtime for ELF target is too big

2016-09-26 Thread Perevalov Alexey via cfe-users
I checked with lto, unfortunately, it didn't get rid of multiple .objc_protocol inclusions. От: llvm-dev от имени Perevalov Alexey via llvm-dev Отправлено: 26 сентября 2016 г. 16:33 Кому: cfe-users@lists.llvm.org; llvm-...@lists.llvm.org Тема: [llvm-dev] objc