Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] MachineFrameInfo"
2008 Aug 25
3
xen+drbd Question
Hi list,
I installed two new servers to be our virtualization HA. This servers
have CentOS 5.2, Xen 3.0.3, Drbd 8.2.6. The setup is ok, lvm drbd
resources sincronizing, Guest VM running without any problem.
My only doubt is that I can only use drbd resources inside guest vms
when I specify the disk resource in vms config like this:
disk = ['phy:/dev/VolGroup00/vappprtem01,hda,w' ]
2017 Apr 27
4
-msave-args backend support for x86_64
ola,
ive been looking at adding support for an -msave-args option for
use on x86_64. the short explanation of it is that it makes x86_64
function prologues store their register arguments on the stack. the
purpose of this is to make the arguments trivially accessible for
things like stack traces with arguments.
as per
https://blogs.oracle.com/sherrym/entry/obtaining_function_arguments_on_amd64,
2008 Jun 30
2
[LLVMdev] Recently failing vector tests
Hi Dale, yes it's just stack alignment. Unfortunately
your patch doesn't make any difference.
Thanks for thinking about this,
Duncan.
On Friday 27 June 2008 19:51:00 Dale Johannesen wrote:
> On Jun 27, 2008, at 3:11 AMPDT, Duncan Sands wrote:
> > FAIL: test/CodeGen/X86/vec_shuffle-10.ll
> > Failed with exit(1) at line 3
> > while running: llvm-as <
2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks Misha,
However, I could not find the crosstool. Could you please check the name of
the script?
Regards,
Juan Carlos
On Mon, Jun 29, 2009 at 5:23 PM, Misha Brukman <brukman at gmail.com> wrote:
> I have not used llvmc to build ARM binaries, but llvm-gcc does work.There's
> a script to build llvm-gcc x86 -> ARM cross-compiler in
> llvm/utils/crosstool/ARM/ .
>
2009 Jun 25
2
[LLVMdev] Problems with lli and hello.c
Hello,
I just install the new newest version of LLVM. When I ran the hello.c
example I got the below message. Somebody has an idea what is wrong? The
problem is just with lli, the other commands worked as I expected.
**********************
:~/LLVM/my-test$ lli hello.bc
Tried to execute an unknown external function: i32 (i8*)* puts
0 lli 0x0861fab8
Stack dump:
0. Program arguments: lli
2009 Jul 01
3
[LLVMdev] Generatin code for an ARM-LINUX machine
Hello Misha,
I used the snapshots for the latest stable version (70786), and I followed
the instructions inside of README file (very clear!!!)
However, when I ran the hello program, I get an unrecognized option message.
Bellow are the details.
============================================
jcmartin78 at jcmartin78-laptop:~/LLVM/my-test$ llvmc hello.c
as: unrecognized option '-meabi=4'
2009 Oct 12
3
[LLVMdev] Options in OPT
Hello,
There is an option that I don't know how to used it.
*-S*
Write output in LLVM intermediate language (instead of bitcode).
The option appears in the documentation, but I try to use it... I get the
next message:
~/test$ opt -analyze hello.ll -o hello.bc -S
opt: Unknown command line argument '-S'. Try: 'opt --help'
I also try 'opt --help'; but the option is
2009 Jun 19
2
[LLVMdev] Problems creating a pass
Hello,
Following the tutorial for writing a pass, I found the next problem.
*****************************
:~/llvm/test$ opt -load ../llvm/Debug/lib/mypass.so -mypass < hello.bc >
/dev/null
opt: Pass.cpp:151: void<unnamed>::PassRegistrar::RegisterPass(const
llvm::PassInfo&): Assertion `Inserted && "Pass registered multiple times!"'
failed.
Aborted
2008 Jun 30
0
[LLVMdev] Recently failing vector tests
On Jun 30, 2008, at 9:25 AMPDT, Duncan Sands wrote:
> Hi Dale, yes it's just stack alignment. Unfortunately
> your patch doesn't make any difference.
>
> Thanks for thinking about this,
>
> Duncan.
OK, the test is not quite right then. This doesn't happen on Darwin
so I'm
afraid you'll have to debug it. Perhaps testing for
2008 Jun 27
2
[LLVMdev] Recently failing vector tests
Running on x86-64 linux:
FAIL: test/CodeGen/X86/vec_ins_extract.ll
Failed with exit(1) at line 1
while running: llvm-as < test/CodeGen/X86/vec_ins_extract.ll | opt -scalarrepl -instcombine | llc -march=x86 -mcpu=yonah | not grep sub.*esp
subl $16, %esp
subl $16, %esp
subl $16, %esp
subl $16, %esp
child process exited abnormally
FAIL:
2008 Jun 30
1
[LLVMdev] Recently failing vector tests
Hi Dale,
> OK, the test is not quite right then. This doesn't happen on Darwin
> so I'm
> afraid you'll have to debug it. Perhaps testing for
> (RegInfo->needsStackRealignment(Fn) &&
> FFI->getObjectIndexEnd()!=0)
> ?
yes, that works - thanks! Since I have no idea what this is
doing, is it ok if I leave it to you to commit it?
2009 Jun 25
0
[LLVMdev] Problems with lli and hello.c
Jello Juan,
The interpreter is quite useless in its current state. Try using a JIT compiler for you computer from the lli command and it should work.
--Sam
>
>From: Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com>
>To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
>Sent: Thursday, June 25, 2009 1:04:17 PM
>Subject: [LLVMdev] Problems with lli
2009 Jun 30
0
[LLVMdev] Generatin code for an ARM-LINUX machine
llvm/utils/crosstool/ARM/build-install-linux.sh
On Tue, Jun 30, 2009 at 11:18 AM, Juan Carlos Martinez Santos <
juanc.martinez.santos at gmail.com> wrote:
> Thanks Misha,
>
> However, I could not find the crosstool. Could you please check the name of
> the script?
>
> Regards,
>
> Juan Carlos
>
>
-------------- next part --------------
An HTML attachment was
2009 Jun 29
2
[LLVMdev] Generatin code for an ARM-LINUX machine
I am using the below configuration:
./configure --with-llvmgccdir=/home/jcmartin78/LLVM/llvm-gcc4.2
--prefix=/home/jcmartin78/local --enable-optimized=1 --enable-debug-runtime
--enable-jit --enable-targets=arm --target=arm
When I use LLVMC to compile a simple program I get this:
$ llvmc hello.c
llc: error auto-selecting target for module 'No available targets are
compatible with this
2018 Mar 22
0
MachineFrameInfo::print SP offset
Hello,
In MachineFrameInfo::print (llvm-6.0.0) line 235, when printing SP offsets,
shouldn't it be
// -> consider stack growth direction
int64_t Off = StackGrowsDown ? SO.SPOffset - ValOffset : SO.SPOffset +
ValOffset;
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2018 May 31
0
Debugging a issue in MachineFrameInfo?
Hi all:
I wrote some IR transform passes that works perfectly fine at IR level and running through opt -verify on the yielded IR results in no error.
However when I try to compile the transformed IR into object code using llc Output.ll -filetype=obj , it asserts out with Assertion failed: (unsigned(ObjectIdx+NumFixedObjects) < Objects.size() && "Invalid Object Idx!"), function
2009 Jul 01
0
[LLVMdev] Generatin code for an ARM-LINUX machine
On Wed, Jul 1, 2009 at 12:01 PM, Juan Carlos Martinez
Santos<juanc.martinez.santos at gmail.com> wrote:
> as -meabi=4 -o /tmp/ccYxnIEs.o /tmp/ccy6iYri.s
> as: unrecognized option '-meabi=4'
[snip]
> Any idea what could be wrong?
It's probably not finding the right assembler (i.e. using the x86-64
as instead of the arm as).
-Eli
2009 Jun 19
0
[LLVMdev] Problems creating a pass
Did you try changing the name from Hello to MyHello or something like
that? I seem to remember having a similar problem. My tutorial code
names the struct MyHello and then registers it as follows:
RegisterPass<MyHello> X("myhello", "My Hello World Pass");
You will likely need to change the Makefile as well.
Scott
On Fri, Jun 19, 2009 at 11:15 AM, Juan Carlos Martinez
2009 Jun 30
2
[LLVMdev] Generatin code for an ARM-LINUX machine
Thanks John,
I just realized that I am not working on the same "branch" of LLVM. Looking
the latest or the newest version I saw the folder with the script, but I did
not see a README file.
I ran the script, and I get:
**********
chown: cannot access `/usr/local/codesourcery': No such file or directory
**********
Therefore my question is if the script depends on others folders (or
2009 Jun 29
0
[LLVMdev] Generatin code for an ARM-LINUX machine
I have not used llvmc to build ARM binaries, but llvm-gcc does work.There's
a script to build llvm-gcc x86 -> ARM cross-compiler in
llvm/utils/crosstool/ARM/ .
2009/6/29 Juan Carlos Martinez Santos <juanc.martinez.santos at gmail.com>
> I am using the below configuration:
>
> ./configure --with-llvmgccdir=/home/jcmartin78/LLVM/llvm-gcc4.2
>