search for: shaltiel

Displaying 15 results from an estimated 15 matches for "shaltiel".

2012 Nov 14
2
[LLVMdev] Clang error - CPU feature not currently enabled
...e. Not a helpful error message though :( -eric On Wed, Nov 14, 2012 at 8:17 AM, Craig Topper <craig.topper at gmail.com>wrote: > I believe it's failing on 64-bit because that's a 32-bit indirect jump. > 64-bit needs jmp *%rdx. > > > On Wednesday, November 14, 2012, Shaltiel, Alon wrote: > >> ** ** >> >> ** ** >> >> *From:* Shaltiel, Alon >> *Sent:* Wednesday, November 14, 2012 11:39 AM >> *To:* 'llvmdev at cs.uiuc.edu' >> *Subject:* Clang error - CPU feature not currently enabled**** >> >> ** ** &...
2012 Nov 14
2
[LLVMdev] Clang error - CPU feature not currently enabled
From: Shaltiel, Alon Sent: Wednesday, November 14, 2012 11:39 AM To: 'llvmdev at cs.uiuc.edu' Subject: Clang error - CPU feature not currently enabled Hello, I'm trying to use clang to compile a file on Mac OS (x86_64) and get the following error. <inline asm>:4:2: error: instruction requires...
2012 Nov 14
0
[LLVMdev] Clang error - CPU feature not currently enabled
I believe it's failing on 64-bit because that's a 32-bit indirect jump. 64-bit needs jmp *%rdx. On Wednesday, November 14, 2012, Shaltiel, Alon wrote: > ** ** > > ** ** > > *From:* Shaltiel, Alon > *Sent:* Wednesday, November 14, 2012 11:39 AM > *To:* 'llvmdev at cs.uiuc.edu <javascript:_e({}, 'cvml', > 'llvmdev at cs.uiuc.edu');>' > *Subject:* Clang error - CPU feature not c...
2015 Jan 29
2
[LLVMdev] prevent frontend from emitting i64
...upstream backend utilize the legalize stage that can break it into instructions with smaller integer types if the target machine does not support that large integer type. There seems no way to prevent clang generate i64 instruction. Are you developing a new backend? 2015-01-28 17:55 GMT+08:00 Alon Shaltiel (ashaltie) <ashaltie at cisco.com<mailto:ashaltie at cisco.com>>: Hello, Is there a way to make clang create an IR file that doesn’t use 64 bit integers? My C code doesn’t use any 64bit types but still “clang –c –emit-llvm …” emits code that contains i64’s. Thanks, Alon _________...
2012 Nov 14
0
[LLVMdev] Clang error - CPU feature not currently enabled
...message though :( > > -eric > > > On Wed, Nov 14, 2012 at 8:17 AM, Craig Topper <craig.topper at gmail.com> wrote: > I believe it's failing on 64-bit because that's a 32-bit indirect jump. 64-bit needs jmp *%rdx. > > > On Wednesday, November 14, 2012, Shaltiel, Alon wrote: > > > > > From: Shaltiel, Alon > Sent: Wednesday, November 14, 2012 11:39 AM > To: 'llvmdev at cs.uiuc.edu' > Subject: Clang error - CPU feature not currently enabled > > > > Hello, > > I’m trying to use clang to compile a f...
2015 Jan 30
0
[LLVMdev] prevent frontend from emitting i64
...eed legalization on IR code, you can check PNaCl project. https://chromium.googlesource.com/native_client/pnacl-llvm/ The pass is located at: lib/Transforms/NaCl/ExpandLargeIntegers.cpp You need make some change, as the pass split large integer into 64bit integers. 2015-01-29 16:06 GMT+08:00 Alon Shaltiel (ashaltie) <ashaltie at cisco.com>: > Is it just an optimization pass? Maybe I can cancel it somehow with a > flag or by doing some code editing? Can you point me to which passes may do > that? > > I'm working on editing a backend that can't work with anything larger...
2016 Nov 14
2
getting the value back from metadata
Hello, I'm trying to extract the value out of my MDNode, but for some reason I can't. For example, if one part of the code gets an MDNode that was created as follows: Metadata* vals[2] = { ValueAsMetadata::get(&F), ValueAsMetadata::get(ConstantInt::get(context, 135)) }; MDNode* mdnode = MDNode::get(context, vals); Is it possible to extract the value of the constant int
2012 Dec 17
0
[LLVMdev] target arm
...for headers). You might possibly be able to get away with not having a cross compiler if you don't actually need, and hence remove the includes for, anything which imports system headers. Regards, David From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Shaltiel, Alon Sent: 17 December 2012 17:15 To: llvmdev at cs.uiuc.edu Subject: [LLVMdev] target arm Hello, I'm trying to use clang to compile a file in an x86 machine (running i386 GNU/Linux) to ARM. In the end, all I want is for the bit code (I use -emit-llvm) getArch() result to be Triple::ARM. I t...
2012 Dec 17
2
[LLVMdev] target arm
Hello, I'm trying to use clang to compile a file in an x86 machine (running i386 GNU/Linux) to ARM. In the end, all I want is for the bit code (I use -emit-llvm) getArch() result to be Triple::ARM. I tried to use "-target arm" but I get a "fatal error: 'bits/predefs.h' file not found". Is there any easy way to make the target architecture "ARM" without
2012 Nov 14
0
[LLVMdev] About a problem in SROA
Hello, I'm trying to use clang to compile a file on Mac OS (x86_64) and get the following error. <inline asm>:4:2: error: instruction requires a CPU feature not currently enabled jmp *%edx ^ fatal error: error in backend: Error parsing inline asm This file does compile on an Ubuntu 32bit machine I checked on google and didn't find anything helpful about it. Does
2012 Nov 14
4
[LLVMdev] About a problem in SROA
Hi, For the following case, $ cat bad1.ll target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32-S64" define internal void @test(i32 %v) { entry: %tmp = alloca i32, align 4 store i32 %v, i32* %tmp, align 4 %0 = bitcast i32* %tmp to <2 x i8>* %1 = load <2 x i8>* %0, align 4 ret void } I
2012 Dec 31
1
[LLVMdev] reg2mem breaks module
Hello, I'm trying to apply the reg2mem pass on my bc file, but it somehow adds an instruction before a landingpad instruction and so I get a broken module error: The unwind destination does not have a landingpad instruction! %41 = invoke %class.x* @_ZN10xC2Ev(%class.x* %.reload19) to label %.noexc unwind label %88
2013 Aug 08
1
[LLVMdev] Metadata in the backend
Hi all, I'm looking for a way to insert metadata into an instruction/function/basic-block in the IR level, and afterwards reading it in the backend (ARM to be exact). So my questions are: 1. Does/can the metadata in the IR survive the code-generator in some way? 2. Is there a general of 'communication' between the optimizer and the backend? Thanks! Alon
2012 Nov 14
0
[LLVMdev] Clang error - CPU feature not currently enabled
Hello, I'm trying to use clang to compile a file on Mac OS (x86_64) and get the following error. <inline asm>:4:2: error: instruction requires a CPU feature not currently enabled jmp *%edx ^ fatal error: error in backend: Error parsing inline asm This file does compile on an Ubuntu 32bit machine I checked on google and didn't find anything helpful about it. Does
2013 Apr 30
0
[LLVMdev] Clang on windows can't compile a code with a zeroinitializer array
When the .bc file contains an array as the following: @.str = private global [7 x i8] zeroinitializer "llc -march=x86" generates the following x86 assembly lines: .data .lcomm L_.str,7 And trying to compile it with clang generates an error: "fatal error LNK1143: invalid or corrupt file: no symbol for COMDAT section 0x3". Is that fixable? Thanks! Alon