Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Problem running lli on ARM"
2009 Nov 09
2
[LLVMdev] Compilation error while cross compiling LLVM for ARM
Hi,
i am a newbie to llvm architecture. i have been trying to port llvm on ARM
target. i am using the following configuration for cross compiling llvm.
../llvm/configure --host=arm-linux --target=arm-linux --build=i686-linux
--prefix=/opt/llvm-arm/ --enable-optimized --disable-debug \
--disable-expensive-checks --disable-doxygen \
--disable-threads --enable-targets=cbe,cpp,arm
using this
2009 Jun 23
2
[LLVMdev] lli aborts on arm QEMU
I get the following error when I try to run arm lli on QEMU:
lli: llvm-arm/src/llvm/include/llvm/ADT/ilist.h:197: typename bidirectional_iterator<NodeTy, int>::reference llvm::ilist_iterator<NodeTy>::operator*() const [with NodeTy = llvm::RecyclerStruct]: Assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing end()!"' failed.
0 lli 0x006abbfc
Stack dump:
0.
2009 Jun 24
0
[LLVMdev] lli aborts on arm QEMU
hannibal hannibal wrote:
> I get the following error when I try to run arm lli on QEMU:
>
> lli: llvm-arm/src/llvm/include/llvm/ADT/ilist.h:197: typename bidirectional_iterator<NodeTy, int>::reference llvm::ilist_iterator<NodeTy>::operator*() const [with NodeTy = llvm::RecyclerStruct]: Assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing end()!"'
2009 Nov 14
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
Hi,
As you said i downloaded arm toolchain from codesourcery(2009q3 with gcc
4.4.1 version).. if i use this toolchain i am getting the following error..
make[2]: Entering directory
`/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis'
llvm[2]: Compiling LoopPass.cpp for Release build
if arm-none-linux-gnueabi-g++
-I/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm/include
2009 Nov 16
3
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
Prasanth J wrote:
> Hi,
>
> As you said i downloaded arm toolchain from codesourcery(2009q3 with
> gcc 4.4.1 version).. if i use this toolchain i am getting the
> following error..
>
> make[2]: Entering directory
> `/home/prasanth/LLVM_ARM/llvm-with-armgcc441/llvm-obj/lib/Analysis'
> llvm[2]: Compiling LoopPass.cpp for Release build
> if arm-none-linux-gnueabi-g++
2009 Nov 16
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue - now the internal compiler error issue.
Hi,
I can able to compile LLVM using armgcc_4.3.3 (codesourcery2009q1..).. but
when i tried to run it on target it shows GCC 4.3.0 version not found. So i
copied the runtime libraries (libc.so and libgcc_s.so) from the toolchain to
the target and exported its path in LD_LIBRARY_PATH. But when i tried to run
any llvm tools on target its crashing with Segmentation fault. What could be
the problem
2009 Nov 13
0
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue
Hi all,
with reference to the reply below, I downloaded toolchain from codesourcery
(arm-2009q1-203-arm-none-linux-gnueabi) with gcc 4.3.3... when i compile
llvm+clang with this toolchain i am getting the following error
make[4]: Entering directory
`/home/prasanth/LLVM_ARM/llvm-with-armgcc433/llvm-obj/tools/clang/tools/c-index-test'
llvm[4]: Linking Release executable c-index-test (without
2009 Nov 13
2
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue - now the __sync_val_compare_and_swap issue
Prasanth J wrote:
>
> Hi all,
> with reference to the reply below, I downloaded toolchain from
> codesourcery (arm-2009q1-203-arm-none-linux-gnueabi) with gcc 4.3.3...
> when i compile llvm+clang with this toolchain i am getting the
> following error
>
> make[4]: Entering directory
>
2009 Nov 09
1
[LLVMdev] Compilation error while cross compiling LLVM for ARM - the __clear_cache issue
Prasanth J skrev:
> Hi,
>
> i am a newbie to llvm architecture. i have been trying to port llvm on
> ARM target. i am using the following configuration for cross compiling
> llvm.
>
> ../llvm/configure --host=arm-linux --target=arm-linux
> --build=i686-linux --prefix=/opt/llvm-arm/ --enable-optimized
> --disable-debug \
> --disable-expensive-checks --disable-doxygen
2009 Nov 15
0
[LLVMdev] Very slow performance of lli on x86
Sorry i really forgot to mention one thing. I downloaded the X86 binaries of
llvm+clang and llvm-gcc from llvm download site. i hope that is not a debug
build.
Prasanth J
On Sun, Nov 15, 2009 at 1:22 PM, Prasanth J <j.prasanth.j at gmail.com> wrote:
> Hi all,
>
> LLVM is built without debug enabled. Also i am not forcing lli to use
> interpreter mode. so i dont think the
2009 Nov 16
1
[LLVMdev] Very slow performance of lli on x86
Hi all,
I have attached the complete test suite. it has different directories for
gcc, llvm-gcc , clang and lli-clang. Source code , makefile and run script
(contains number of times the program should execute) for each case are
available inside each directory.
*
FOLLOWING ARE THE STATISTICS WHILE USING LLI FOR SINGLE ITERATION*
2009 Nov 15
0
[LLVMdev] Very slow performance of lli on x86
On Nov 14, 2009, at 11:52 PM, Prasanth J wrote:
> step 4:
> running monolith.bc for 10000 iterations using lli tool and measured the time.
How are you doing this?
-eric
2009 Jan 16
1
[LLVMdev] Problem using ilist container
Hi All,
I have just started using LLVM .
i am facing a issue while using ilist container.
Here is a struct with ilist container as its one element.
typedef ilist<Instruction *> InstListType;
struct list_node {
int Impact;
InstListType InstList;
};
list_node
2009 Nov 15
5
[LLVMdev] Very slow performance of lli on x86
Hi all,
LLVM is built without debug enabled. Also i am not forcing lli to use
interpreter mode. so i dont think the reason is not because of debug build
or interpreter mode.
*step 1: *
compiled the 3 files (generic_replica.c ,xacc.c and dacc.c) with clang-cc to
llvm bytecode files using -emit-llvm-bc and (-O0/-O3) options
*step 2:*
bytecode obtained from step 1 (generic_replica.bc, xacc.bc and
2016 Aug 25
2
InstList insert depreciated?
Hi llvm-devel,
I have migrated my codebase from llvm-3.6 to llvm 3.8.1-stable.
Although I was able to resolve most of the problems, I am facing
issues resolving the following:
To insert an instruction immediately after the first instruction
within a basic block, I first get all instructions in my basic block
in an instruction container list. Once that is done, I insert my new
instruction in the
2009 Apr 01
1
FW: How to specify axis interval unit...
Dear Duncan Murdoch:
Thanks for your tips. By the way, I think I didn't mentioned my question
very clear. What I mean to say is that, in Excel one could decide upon the
axis interval unit. Please see the attached file. Likewise, is it possible
in R...?
Regards,
Prasanth.
-----Original Message-----
From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca]
Sent: Tuesday, March 31, 2009 6:25 PM
2012 Dec 20
2
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
Hello,
Thank you for your answer. If I want to use
then I have
error: ‘NodeTy* llvm::ilist_half_node<NodeTy>::getPrev() [with NodeTy =
llvm::Instruction]’ is protected
error: ‘llvm::ilist_half_node<llvm::Instruction>’ is not an accessible base
of ‘llvm::Instruction’
Do you know any other method to access the previous instruction of a
terminator instruction? PS: back() is not an
2010 Jun 18
1
[LLVMdev] Erasing Instruction
Hi,
Can anyone tell me how to erase an instruction, (specially a
load/store instruction) ?
If I use Instr->eraseFromParent(), I get following error. Note the
instruction does not have any use.
opt: /home/chayan/llvm/llvm-2.6/include/llvm/ADT/ilist.h:218:
llvm::ilist_iterator<NodeTy>&
llvm::ilist_iterator<NodeTy>::operator++() [with NodeTy =
llvm::Instruction]: Assertion
2012 Dec 20
0
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
getPrevNode<http://llvm.org/docs/doxygen/html/classllvm_1_1ilist__node.html#a77b897207ef0a1ae95c404695aed9a4b>()
Get the previous node, or 0 for the list head. I don't see any method like
hasPrevNode.
It can be a weird problem because "current->getPrevNode()" is indicating to
"current" itself (the problem appears for the BB with only one element)?
On Thu, Dec
2012 Dec 20
1
[LLVMdev] LLVM segmentation fault / need use Instruction instead of Instruction*
I solved by checking
if(BB->size()>1)
Thank you all for the help !
Now debugging the next segfault.
On Thu, Dec 20, 2012 at 12:59 PM, Alexandru Ionut Diaconescu <
alexandruionutdiaconescu at gmail.com> wrote:
> getPrevNode<http://llvm.org/docs/doxygen/html/classllvm_1_1ilist__node.html#a77b897207ef0a1ae95c404695aed9a4b>()
> Get the previous node, or 0 for the list