Displaying 20 results from an estimated 12000 matches similar to: "[LLVMdev] Upgrading from llvm 2.8 to 3.0/3.1"
2012 Jun 18
1
[LLVMdev] The porting issue from llvm-2.8 to llvm-3.0
I successfully ported our project from llvm-2.8 to llvm-3.0.
The most important change is you need to change some argument type
from Vector to llvm::ArrayRef, such as
CallInst::Create, FunctionType::get etc.
Until now , our project is running fine except some minor issue. I
still need to look into if the current issues is related to llvm 3.0
Thanks all your help.
Thanks
MK
On Wed, Jun 13, 2012
2010 Dec 30
8
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Hi, folks
I am trying to build LLVM-GCC 4.2 on a Linux/PowerPC machine.
Actually, the PowerPC is a PS3. The source was downloaded from
http://llvm.org/releases/2.8/llvm-gcc-4.2-2.8.source.tgz
Here is my system information and configuration options:
----------------------------------------------------------------------
$ uname -a
Linux ps3 2.6.32-rc2-00995-g96ebbe6-dirty #2 SMP Fri Oct 2
2012 Apr 14
2
[LLVMdev] About LLVM 3.1 ARM testing
Hi all,
Since the 3.1 testing day is coming and be a ARM tester, I would like to make
sure everything is O.K. so that we don't waste the precious time. As discussed
on the ML before, I plan to cross compile LLVM/Clang first, then run regression
test and test suite on the pandaboards. Could someone help me check to see if I
miss something? Thanks!
Here is the pandaboard configuration,
2012 Apr 15
3
[LLVMdev] About LLVM 3.1 ARM testing
> Ubuntu on ARM is softfp, right? How about testing hardfp with a
> distribution like ArchLinuxArm?
Yes, Ubuntu on ARM is softfp. But I already told Bill the platform I prepare
to test and the testing day begins *tomorrow*, I prefer what it likes now. BTW,
what if I use a cross compiler with hardfp enabled to compile LLVM first, then
run it on Ubuntu/ARM? Does it achieve your goal, too?
2013 Jan 11
4
[LLVMdev] Update PTX section in CodeGenerator.html
Hi Justin,
I believe the PTX section in the link below need some love,
updating "lib/Target/PTX" to "lib/Target/NVPTX" for example.
Would you like to take a look?
http://llvm.org/docs/CodeGenerator.html#the-ptx-backend
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
2012 Sep 13
5
[LLVMdev] Fail to compile LLVM on Gentoo Linux
Hi all,
I think it's Gentoo's bug, but I want to know if anyone has the same
issue here. I am compiling LLVM trunk on Gentoo (gcc 4.5.2), and I get
error message below,
---
make[4]: Entering directory `/nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/lib/Frontend'
llvm[4]: Compiling InitHeaderSearch.cpp for Release+Asserts build
2011 Mar 23
4
[LLVMdev] Calling external functions failed on PowerPC
Hi, all
I have a trouble with calling external functions on PowerPC.
What I am doing is generating a LLVM IR first like this,
- x86
call void @helper_shack_flush(%struct.CPUX86State* %62) noinline, !flags !12
- ppc
call void @helper_shack_flush(%struct.CPUX86State* %62) noinline, !flags !10
After lowering above LLVM IR for x86 and ppc, it becomes:
- x86
%RAX<def> = MOV64ri
2011 Jan 05
1
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
陳韋任 wrote:
> > Does your maching have directories like /lib64 and /usr/lib64?
> Yes, it has /lib64 and /usr/lib64.
>
> > what is the size of a void pointer?
> $ ./a.out
> sizeof (void*) : 8
>
> > Does this change if you add -m64 to the gcc command line?
> No.
Ok, as far as I cam tell, everything on your system is
correct.
I don't have any further ideas
2012 Oct 30
3
[LLVMdev] TargetELFWriterInfo used for anything?
> In consideration of those codes in XXXAsmPrinter class which print out
> MachineInstr in .s format, I tend to think they are old codes that
> might be obsolete and will be replaced with MC layer implementation,
> but I am not sure.
How about sending a patch which remove those obsolete code, and let
others give comment?
Cheers,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab,
2011 Jan 06
1
[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed
Hello
> The "--disable-bootstrap" give me no luck. Why you think that
> "--disable-bootstrap" might help?
Due to reasons I outlined in my prev. e-mail. Now you can notice that
the build proceed much further. Try to add --disable-libmudflap as well.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2011 Mar 25
0
[LLVMdev] Calling external functions failed on PowerPC
Hi, all
I found the example code examples/HowToUseJIT.cpp also shows
the same error.
Attachment is the LLVM module created by HowToUseJIT. And here
is the error,
Running foo: %X4<def> = LDtoc <ga:@add1>, %X2
UNREACHABLE executed!
Stack dump:
0. Running pass 'PowerPC Machine Code Emitter' on function '@foo'
Aborted
Currently, I use gdb try to track down
2012 Apr 24
5
[LLVMdev] Trouble with tweaking test-release.sh script
Hi 陳韋任,
Sorry for the late response.
On Apr 21, 2012, at 8:03 PM, 陳韋任 wrote:
> I have a native compile and the result seems better... You can compare
> the result of cross compile [1] and the native compile [2].
>
> Any though?
>
I'm not particularly happy about the failures here. We need to get to the bottom of them. In the previous email, you tried setting CFLAGS and
2012 Mar 29
0
[LLVMdev] Announcing 3.1 Release Branch Date!
> By the way, we are looking for ARM testers. There was a lot of interest in the 3.0 release for an ARM release. We will try to do one this release on a trial basis. We are looking for ARMv7 cortex-a8 and cortex-a9 on Linux.
We have two pandard board (ARMv7 cortex-a9) and perhaps one ARMv6
4-cores board. Do we do a native compile or cross compile for the ARM
platform?
Regards,
chenwj
--
2011 Jan 06
2
[LLVMdev] Building dragonegg.so failed
Hi, all
I am trying to build gcc 4.5 with dragonegg plugin. After building
patched gcc 4.5, I try to build dragonegg.so but failed.
Here is the error messgae,
-----------------------------------------------------------------------
$ GCC=/tmp/chenwj/install/bin/gcc make
Compiling utils/target.cpp
/tmp/chenwj/dragonegg-2.8/utils/target.cpp: In function 'int main(int,
char**)':
2012 Apr 27
4
[LLVMdev] RE : Detect if a basicblock is part of a loop
Thx all for the quick answers...
> De : llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] de la part de Arnaud ALLARD DE GRANDMAISON [arnaud.allarddegrandmaison at parrot.com]
>
> Hi,
>
> Depending on what have run before your pass, the loop may have been unrolled or simplified if the computation inside the loop is too simple.
>
> Cheers,
> --
> Arnaud de
2011 Sep 25
3
[LLVMdev] POSIX thread library support
Hello all,
I caught a problem related to pthread library. I built llvm and llvm-gcc
then compiling a multithreaded benchmark written in POSIX thread library.
The command "llvm-gcc -o bench bench.c -lpthread" ran well while "llvm-gcc
-c bench; llvm-ld -o bench bench.o -lpthread" crashed. It told that
"llvm-ld: error: Cannot find library 'pthread'".
I could
2012 Mar 29
3
[LLVMdev] Announcing 3.1 Release Branch Date!
On Mar 29, 2012, at 2:46 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:
>> By the way, we are looking for ARM testers. There was a lot of interest in the 3.0 release for an ARM release. We will try to do one this release on a trial basis. We are looking for ARMv7 cortex-a8 and cortex-a9 on Linux.
>
> We have two pandard board (ARMv7 cortex-a9) and perhaps one ARMv6
> 4-cores
2011 Nov 08
3
[LLVMdev] Failed to decode profile dump with llvm-prof
On Mon, Nov 07, 2011 at 04:10:29PM +0100, Wim Vander Schelden wrote:
> I'm having the same problem. Does anyone know what's causing this?
>
> Kind regards,
>
> Wim
What's your profiling procedure? I can only guess llvm-prof does not
recognize the profiling data.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia
2012 Mar 22
4
[LLVMdev] Execution Engine: CodeGenOpt level
Hi,
How can I dynamically change the code generation optimization level (e.g.,
None) of a JIT in other to recompile a function with a new optimization
level (e.g., Default)?
Thank you.
Best regards,
Nurudeen.
2011 Aug 16
3
[LLVMdev] .so file creation for new passes on Visual Studio
Hi!
I was trying to run an already build LLVM-pass ( the Hello world ) on Visual
Studio. I could locate the The Hello world pass sources in
llvm/lib/Transform/Hello/*.But when I compiled llvm using the command "cmake -G
"Visual Studio 10" ..\llvm" , I couldn't find the LLVMHello.so file in
"build_directory/Debug/lib/LLVMHello.so" neither in