search for: benyei

Displaying 14 results from an estimated 14 matches for "benyei".

Did you mean: benet
2013 Jan 24
1
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
Hello everyone, Thanks a lot for the help. -target nvptx worked great with llvm-3.2. However it gives error with -target spir. LLVM/Clang trunk although works good for both options ( probably because spir is still work in progress ). Thanks again. - Ankur On Thu, Jan 24, 2013 at 12:43 PM, Benyei, Guy <guy.benyei at intel.com> wrote: > Hi Jordan,**** > > You’re right, and the driver -target option works perfectly with the SPIR > triples.**** > > ** ** > > Thanks**** > > Guy Benyei**** > > [image: email_signature_guy_new2]**** > > ** ** &g...
2013 Jan 23
2
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
On Jan 23, 2013, at 4:04 , "Benyei, Guy" <guy.benyei at intel.com> wrote: > Hi Ankur, > Since you use –Xclang, the clang executable passes multiple triples to “clang -cc1”. You can see that if you add the -v option. I’m sure there is someone here who can explain it better than I… > Anyhow, I think you better use...
2015 Jun 09
2
[LLVMdev] Constant folding inttoptr i32 0 to null pointer?
...t; > which is not ok. > On second thought, I think that high alignment is benign. It simply indicates that your backend is free to load the value as-if it were aligned to an arbitrary boundary (because it is 1 byte, 2 byte, 4 byte, etc. aligned). > > On Tue, Jun 9, 2015 at 11:34 AM, Benyei, Guy <guy.benyei at intel.com> wrote: > >> Thanks David, >> >> It turns out, that the address space I was using was not 0, and yet the >> pointer was constant folded to null. >> >> >> >> Here is the sequence: >> >> >> >&...
2013 Jan 24
0
[LLVMdev] [cfe-dev] OpenCL SPIR/NVPTX code generation
Hi Jordan, You're right, and the driver -target option works perfectly with the SPIR triples. Thanks Guy Benyei [email_signature_guy_new2] From: Jordan Rose [mailto:jordan_rose at apple.com] Sent: Wednesday, January 23, 2013 19:47 To: Benyei, Guy Cc: ankur deshwal; cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu Subject: Re: [cfe-dev] OpenCL SPIR/NVPTX code generation On Jan 23, 2013, at 4:04 , "Benye...
2012 Sep 19
1
[LLVMdev] [cfe-dev] SPIR Review Status: after Introduction and 32bits vs. 64bits discussions
On Wed, Sep 19, 2012 at 5:43 AM, Benyei, Guy <guy.benyei at intel.com> wrote: > Ouriel, Boaz wrote: > > > ... > > > *** Richard Smith, Eli Friedman & Nadav Rotem: Portability Issues *** > > *****comment 1: int does_this_compile[sizeof(void*) - 3]; > Answer: We are dis...
2015 Jun 09
4
[LLVMdev] Constant folding inttoptr i32 0 to null pointer?
...Type *DestTy) { ... if (V->isNullValue() && !DestTy->isX86_MMXTy()) return Constant::getNullValue(DestTy); ... Is this a bug? Thanks Guy From: David Majnemer [mailto:david.majnemer at gmail.com] Sent: Tuesday, June 09, 2015 18:45 To: Benyei, Guy Cc: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Constant folding inttoptr i32 0 to null pointer? On Tue, Jun 9, 2015 at 5:57 AM, Benyei, Guy <guy.benyei at intel.com<mailto:guy.benyei at intel.com>> wrote: Hello, It seems that ConstantFoldCastInstruction in ConstantFold.cpp fo...
2012 Sep 19
0
[LLVMdev] [cfe-dev] SPIR Review Status: after Introduction and 32bits vs. 64bits discussions
...void f(int x) { switch(x) { case 4: case sizeof(size_t): break; } } Answer: We are discussing this an provide an answer soon. [Guy Benyei] Some inherently non-portable code snippets won't be supported in SPIR. IMO, these cases should be detected during compilation (and we don't define anything about compilation in the SPIR spec). Especially, when a given source code should raise compilation error in one architecture, and pass...
2013 Jan 23
3
[LLVMdev] OpenCL SPIR/NVPTX code generation
...t shows the target triple as target triple = "i386-pc-linux-gnu" So it crashes with the llc ( due to the address space errors). I also tried building llvm with only nvptx target, still the target triple is the same. Please help. Thanks a ton, Ankur On Wed, Jan 23, 2013 at 1:20 PM, Benyei, Guy <guy.benyei at intel.com> wrote: > Hi Ankur,**** > > SPIR generation is not yet fully supported in Clang. I’m working on this > task, but there are still some missing parts.**** > > The correct way to generate SPIR by Clang is adding the “-triple > spir-unknown-unkn...
2019 Aug 26
2
Non-native endianness support in Clang
...verything, modifying optimizations, etc...: https://github.com/gcc-mirror/gcc/commit/292237f3c109f2e0d2752ad1e73181689f7d0d53 I think, it would be better, to implement this attribute in the frontend only, adding the required byte-swaps early. Any thoughts, ideas, objections? Thanks Guy Benyei
2012 Dec 25
0
[LLVMdev] [cfe-commits] r170125 - /cfe/trunk/lib/Basic/Targets.cpp
...er way to update this information in the DataLayout class. This way we get a failure when trying to build the layout of a struct that contains a pointer in 32 bits. In DataLayout.cpp, the default pointer size and alignment is 8 bytes, which is clearly not right for the SPIR32 target. Thanks Guy Benyei -----Original Message----- From: cfe-commits-bounces at cs.uiuc.edu [mailto:cfe-commits-bounces at cs.uiuc.edu] On Behalf Of Benyei, Guy Sent: Tuesday, December 25, 2012 12:42 To: Eli Friedman Cc: cfe-commits at cs.uiuc.edu Subject: Re: [cfe-commits] r170125 - /cfe/trunk/lib/Basic/Targets.cpp Th...
2013 Jan 23
0
[LLVMdev] OpenCL SPIR/NVPTX code generation
...e first command line option you use. $ clang -cc1 -fno-builtin -emit-llvm-bc -triple spir-unknown-unknown Simple_Kernel.cl -o Simple_Kernel.bc should work for you. Thanks [email_signature_guy_new2] From: ankur deshwal [mailto:a.s.deshwal at gmail.com] Sent: Wednesday, January 23, 2013 13:44 To: Benyei, Guy; cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu Subject: OpenCL SPIR/NVPTX code generation Hi Guy, Thanks a lot for the clarification. I tried using the triple for SPIR as $ clang -x cl -fno-builtin -emit-llvm -c -Xclang -triple -Xclang spir-unknown-unknown Simple_Kernel.cl However I get...
2012 Sep 14
2
[LLVMdev] SPIR Review Status: after Introduction and 32bits vs. 64bits discussions
Hi All, I have made an attempt to summarize the different comments that were raised so far. An answer has been provided inside. Please let me know if I missed any comments or got them wrong. *** Hal Finkel: Handling FP_CONTRACT *** *****Comment: The current specification provides a mechanism for handling FP_CONTRACT, but does so only at the module level. After much debate,
2015 Jun 09
2
[LLVMdev] Constant folding inttoptr i32 0 to null pointer?
Hello, It seems that ConstantFoldCastInstruction in ConstantFold.cpp folds inttoptr instruction with 0 as operand to a null pointer. It makes sense, when talking about a C-style frontend, as the C99 spec (6.3.2.3) states: "An integer constant expression with the value 0, or such an expression cast to type void *, is called a null pointer constant." On the other hand, some architectures
2012 Nov 06
0
[LLVMdev] SPIR BoF Session at 2012 LLVM Developers Conference
...in Clang and we hope to have a good discussion based on it. In addition, we are interested in meeting others who care about the concept of SPIR and would like to learn more about their usages. Cheers, Boaz From: cfe-dev-bounces at cs.uiuc.edu [mailto:cfe-dev-bounces at cs.uiuc.edu] On Behalf Of Benyei, Guy Sent: Monday, November 05, 2012 22:41 To: cfe-dev at cs.uiuc.edu Subject: [cfe-dev] SPIR/OpenCL size_t/ptrdiff_t as builtin types - preliminary patch Hi all, The attached patch contains implementation for turning OpenCL size_t and ptrdiff_t types to builtin types (on top of my previous patch...