Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] TableGen command line option conflict"
2011 Oct 04
0
[LLVMdev] TableGen command line option conflict
On Mon, Oct 03, 2011 at 03:13:21PM -0400, Xi Wang wrote:
> Hi,
>
> Seems that lib/TableGen/Main.cpp (trunk) defines a set of command line options such as "-o". When building llvm with --enable-shared configured, almost all llvm-* tools are unusable since they also define "-o". How about not using these global options, or not linking it to libLLVM? Thanks.
Hi Xi,
2014 Dec 12
2
[LLVMdev] [RFC] Stripping unusable intrinsics
I’ve got some new patches and some numbers.
The patches are all the changes required to strip intrinsics using the preprocessor defines I showed in my earlier patches. It actually isn’t that much change to LLVM. Clang will need similar changes too. There were only 9 files that referenced target intrinsics outside the corresponding target.
These patches are still WIP, and there is some nastiness,
2018 May 06
2
OpenCL runtimes and LLVM command line options
Hello everyone,
A while back I hit an issue where the presence of multiple OpenCL runtimes
on a single system triggered errors in libLLVM caused by redeclaring
command line arguments [0]. There's been some discussion on the bug report and
a pointer to a slightly older report, unrelated to OpenCL, but most likely
about the same issue [1].
OpenCL uses an ICD loader library to abstract away
2018 May 07
0
OpenCL runtimes and LLVM command line options
We have a similar problem in Mesa's radeonsi driver. It would be great
if command-line options could somehow be tied to an llvm::Context, for
example.
There is an even worse problem when *different versions* of LLVM are
loaded into the same process. This is basically guaranteed to lead to
crashes because of symbol clashes. I wonder if C++11 inline namespaces
could be used for proper
2018 May 07
2
OpenCL runtimes and LLVM command line options
On 05/07/2018 12:28 AM, Nicolai Hähnle via llvm-dev wrote:
> We have a similar problem in Mesa's radeonsi driver. It would be great if command-line options could somehow be tied to an llvm::Context, for example.
>
> There is an even worse problem when *different versions* of LLVM are loaded into the same process. This is basically guaranteed to lead to crashes because of symbol
2018 May 08
0
OpenCL runtimes and LLVM command line options
On 07.05.2018 17:49, Tom Stellard wrote:
> On 05/07/2018 12:28 AM, Nicolai Hähnle via llvm-dev wrote:
>> We have a similar problem in Mesa's radeonsi driver. It would be great if command-line options could somehow be tied to an llvm::Context, for example.
>>
>> There is an even worse problem when *different versions* of LLVM are loaded into the same process. This is
2011 Mar 29
1
[LLVMdev] cross compiling to sparc with llvm
Hi,
I'm trying to use llvm/clang to cross compile to sparcv9. The following
works with a -march=sparc, but yields errors for sparcv9. Are there some
other flags that need to be specified?
Thanks,
Tarun
> clang -m64 -emit-llvm test.c -c -o test.bc
> llc -march=sparcv9 test.bc -o hello.s
ExpandIntegerResult #0: 0x8a6c478: i64 = GlobalAddress<[4 x i8]* @.str> 0
[ORD=1] [ID=0]
Do
2012 Jan 12
3
[LLVMdev] 'opt' Aborted "While deleting: void %"
Hey everyone,
So I have an LLVM pass that appears to run completely and work fine, and
then it aborts at the very end. When exiting the final runOnFunction call,
I get the following error / stack dump. I cannot figure out why this is
happening for the life of me - does anyone have any ideas? I'm not trying
to do any crazy deallocation or anything, it just seems like a normal pass
to me.
2012 Jan 12
0
[LLVMdev] 'opt' Aborted "While deleting: void %"
Hi Griffin, did your pass create a data structure that holds values somehow,
and forgot to delete it? Also, try running under valgrind in case this is
due to a memory error of some kind.
Ciao, Duncan.
> So I have an LLVM pass that appears to run completely and work fine, and
> then it aborts at the very end. When exiting the final runOnFunction call,
> I get the following error /
2012 Jan 13
1
[LLVMdev] 'opt' Aborted "While deleting: void %"
Using Valgrind hasn't shown me anything terribly unusual. And I'm confused
because its not even trying to delete a real instruction; deleting a void
type with no name? That doesn't make any sense...
Any other hints? I've seen a few posts in the past about this relating to
some internal LLVM bugs...
-Griffin
On Thu, 12 Jan 2012 21:26:41 +0100, Duncan Sands <baldrick at
2009 Oct 10
2
Possible bug in the Rd parser?
Dear list,
I got an automatic email complaining than some of my packages didn't
pass 'R CMD check' for R-2.10.0 alpha anymore. Both of them make use of
the "cases" LaTeX environment.
Inspecting the log outputs I got:
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! Misplaced alignment tab
2012 Feb 03
3
[LLVMdev] How can I see what opt tries to delete at the end of a pass?
Hello,
I've been stuck with a problem for about a month, and it has stumped
everyone in my lab. I have a function pass that runs, and when it finishes
and opt goes to return, I get:
While deleting: void %
An asserting value handle still pointed to this value!
UNREACHABLE executed at /x/grwright/llvm/llvm-2.9/lib/VMCore/Value.cpp:569!
On a simple test case, the error becomes 'i32 %'
2011 Jan 15
2
[LLVMdev] LLVM GC
Hi,
I've been implementing a compiler that targets LLVM, and was looking
into using the shadow-stack gc strategy. Currently, I build the runtime
with clang (using -emit-llvm), and then link that with the LLVM bitcode
output from my compiler using llvm-ld.
This works fine without the gc strategy annotations and use of the
llvm.gcroot intrinsic, but adding them causes some odd behavior: the
2016 Dec 27
1
Running grep with LLI
Hi everyone,
I compiled grep with llvm-3.4(because consumer tool uses llvm3.4 bit code)
and generate bit-code for this.
When I am running with lli output is
pseudo instructions should be removed before code emission
UNREACHABLE executed at
/home/awanish/llvm/llvm-3.4.2/lib/Target/X86/X86CodeEmitter.cpp:1176!
0 libLLVM-3.4.so 0x00007f1250f655d5
llvm::sys::PrintStackTrace(_IO_FILE*) + 37
1
2012 May 16
2
[LLVMdev] NVPTX: __iAtomicCAS support ?
Dear colleagues,
I'm looking if we can replace nvopencc with LLVM NVPTX in our project.
It turns NVPTX won't work with the code nvopencc can handle (please
see the log below). So are atomic intrinsics not supported or am I
doing call in a wrong way?
Thanks,
- Dima.
SOURCE
========
dmikushin at hp2:~> cat kernelgen_monitor.ll
; ModuleID =
2014 May 12
2
[LLVMdev] Name of the libraries + soname? 3.4.1 ?
On 12/05/2014 15:22, Tom Stellard wrote:
> On Mon, May 12, 2014 at 08:41:36AM +0200, Sylvestre Ledru wrote:
>> Hello,
>>
>> With the release of 3.4.1, the LLVM library has been renamed from
>> libLLVM-3.4.so to libLLVM-3.4.1.so. In parallel, the soname has been
>> updated to
>> reflect this change.
>>
>> AFAIK, we kept the ABI compatible from 3.4
2012 Sep 03
2
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
Dear all,
Looks like the NVPTX backend cannot handle array-of-arrays contant
(please see the reporocase below). Is it supposed to work? Any ideas
how to get it working? Important for our target applications.
Thanks,
- Dima.
$ cat test.ll
; ModuleID = '__kernelgen_main_module'
target datalayout =
2012 May 16
0
[LLVMdev] NVPTX: __iAtomicCAS support ?
> -----Original Message-----
> From: Dmitry N. Mikushin [mailto:maemarcus at gmail.com]
> Sent: Wednesday, May 16, 2012 5:44 AM
> To: LLVM-Dev
> Cc: Justin Holewinski
> Subject: NVPTX: __iAtomicCAS support ?
>
> Dear colleagues,
>
> I'm looking if we can replace nvopencc with LLVM NVPTX in our project.
> It turns NVPTX won't work with the code nvopencc
2012 Jun 25
2
[LLVMdev] Is llc broken for Cortex-A9 + neon ?
Hi all,
considering following .ll file
; ModuleID = 'vect3x.ll'
target triple = "armv7-none-linux-gnueabi"
define arm_aapcscc void @test_hi_char8(i8* %.T0351, <8 x i8>* nocapture %srcA, <4 x i8>* nocapture %dst) noinline {
L.entry:
%0 = tail call arm_aapcscc i32 (...)* @get_global_id(i8* %.T0351, i32 0)
%1 = bitcast <8 x i8>* %srcA to <4 x i8>*
2011 Dec 12
4
[LLVMdev] problem with runOnLoop
hi all,
I want access to all basic blocks of function in a loop, so I used the
following code:
*bool parallel::runOnLoop(Loop *L, LPPassManager &LPM)
{
for (Function::iterator bi= func->begin(); bi != func->end(); bi++){
//
}
}*
First loop run without problem, but for second loop I get the following
error:
*0 libLLVM-2.9.so 0x0137d530
1 libLLVM-2.9.so 0x0137fa6c
2