Displaying 20 results from an estimated 50000 matches similar to: "[LLVMdev] --with-python flag unsuccesful"
2013 Jan 22
2
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
I am having trouble getting LLVM/Clang to compile from SVN/trunk on win32
using MinGW (4.7.1). The error is:
sys/mman.h: No such file or directory
...and it happens during compilation of:
[LLVM/Clang]\projects\compiler-rt\lib\enable_execute_stack.c
I configured everything carefully as "CMAKE_BUILD_TYPE" "Release". I have in
the PATH (in that order):
- CMake
- MinGW
- Python
2012 Jun 12
0
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
Hi sam,
On 12/06/2012 17:30, sam wrote:
> Hi Ivan,
>
> The assertion was happening because I wasn't checking after the first
> attempt failed. The first packet was failing and so it was ended, and
> then the packetizer attempted to add it to the next packet without
> checking for available resources. However this highlights probably the
> real problem - my packetizer
2013 Jan 22
3
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
I am having trouble getting LLVM/Clang to compile from SVN/trunk on win32
using MinGW (4.7.1). The error is:
sys/mman.h: No such file or directory
...and it happens during compilation of:
[LLVM/Clang]\projects\compiler-rt\lib\enable_execute_stack.c
I configured everything carefully as "CMAKE_BUILD_TYPE" "Release". I have in
the PATH (in that order):
- CMake
- MinGW
- Python
2012 Jun 12
3
[LLVMdev] DFAPacketizer with StateTrans != 0 Assertion
Hi Ivan,
The assertion was happening because I wasn't checking after the first
attempt failed. The first packet was failing and so it was ended, and
then the packetizer attempted to add it to the next packet without
checking for available resources. However this highlights probably the
real problem - my packetizer is unable to find resources for the first
instruction, or any of my
2013 Mar 16
2
[LLVMdev] internal compiler error when compiling llvm-gcc-4.2-2.9
Thanks for your help, Wei-Ren and Anton.
However since I am doing some experiments with klee(
http://klee.llvm.org/GetStarted.html) and llvm-gcc seems to have better
compatibility with it. So I still hope that I can use llvm-gcc:-)
Hongxu Chen
On Sat, Mar 16, 2013 at 3:35 PM, 陳韋任 (Wei-Ren Chen) [via LLVM] <
ml-node+s1065342n56013h94 at n5.nabble.com> wrote:
> Hi Chen,
>
>
2012 Jul 13
2
[LLVMdev] Does the pass -postdomfrontier exist?
On 07/13/2012 04:30 PM, Duncan Sands wrote:
> Hi,
>
>> I found the -postdomfrontier pass in *llvm*.org/docs/Passes.html, but
>> 'opt' does not accept it. I could not find the relevant codes in
>> PostDominance.cpp in SVN trunk, but I found some relevant codes here
>> http://opensource.apple.com/source/clang/clang-137/src/lib/Analysis/PostDominators.cpp.
2012 Jul 13
0
[LLVMdev] Does the pass -postdomfrontier exist?
Hi shadowkernel,
> I searched the archives and found
> http://llvm.1065342.n5.nabble.com/post-dominance-frontier-fix-td10221.html
> http://llvm.1065342.n5.nabble.com/Is-there-a-control-dependence-graph-builder-td35919.html#a35921
> http://llvm.1065342.n5.nabble.com/post-dominance-frontier-td6783.html
>
> It seems none of them are relevant. Could you give me more hints about
2013 Jan 23
0
[LLVMdev] Fails to compile w/ MinGW: sys/mman.h: No such file or directory
Is there interest in building/using compiler-rt on Windows? If there is
none, probably we should just disable building it in CMake rules.
On Tue, Jan 22, 2013 at 10:19 AM, MortenMacFly <mac-fly at gmx.net> wrote:
> I am having trouble getting LLVM/Clang to compile from SVN/trunk on win32
> using MinGW (4.7.1). The error is:
> sys/mman.h: No such file or directory
> ...and it
2013 Nov 14
1
[LLVMdev] How Fast RegisterAllocation determine if the use-reference is the last use without isKill Flag
Hello llvmers:
I'm study Fast register allocation in codegen. I get confused
with isKill flag in MachineOperand. I thin "isKill" flag the last Use
Reference. But, Fast Register doesn't require LiveVariable Analysis which
will mark isKill Flag for global virtual Register. So during Fast
RegisterAllocation, Faster Register Allocation procedure can't determine
2013 Jul 15
0
[LLVMdev] Fwd: Regarding scope information for variable declaration.
Thank your reply. Pankaj.
Actually, I have done it very similar to yours. But I think for my demand,
it is better to implement in Front End. Maybe I will re-implement it later
in clang.
---------- Forwarded message ----------
From: Pankaj Gode [via LLVM] <ml-node+s1065342n59345h22 at n5.nabble.com>
Date: Mon, Jul 15, 2013 at 2:35 PM
Subject: Re: Regarding scope information for variable
2013 Nov 07
0
[LLVMdev] Saturation Arithmetic Canonical Form?
Are there best practices regarding how to express saturation arithmetic in
LLVM IR? In particular I want to make sure the IR translates efficiently to
(SSE) vector instructions when executed in a simple loop.
My first thought was to implement this naively by zero extending and
branching on the minimum and maximum values. However, I'm also aware of
branchfree alternatives[1]. Do the current
2013 Mar 18
2
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
Please find the .ll attached below . Yes, I am using the cuda_runtime.h from
the toolkit.
nbody.kernel.ll
<http://llvm.1065342.n5.nabble.com/file/n56048/nbody.kernel.ll>
- Uday
--
View this message in context: http://llvm.1065342.n5.nabble.com/UNREACHABLE-executed-error-while-trying-to-generate-PTX-tp56026p56048.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2016 Dec 26
1
postindexed load/store
hello,
I read that you do implement these operations in your backend some time ago. (http://llvm.1065342.n5.nabble.com/llvm-dev-Questions-about-load-store-incrementing-address-modes-td87577.html).
The DAGCombiner::CombineToPostIndexedLoadStore(SDNode *N) function never works for me.
Can you show me a code fragment in C which is translated into pre/post dec/inc load/store? Then I will be able to
2013 Mar 22
2
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
Well, I tried the command line given by you and I get the following error
clang++ nbody.kernel.cu -Xclang -fcuda-is-device
-I/home/upitamba/llvm-3.2.src/tools/clang/test/SemaCUDA/ -Xclang -triple
-Xclang nvptx64 -Xclang -target-cpu -Xclang sm_10 -S
fatal error: error in backend: Cannot select: 0x334a870: v4f32 =
NVPTXISD::MoveParam 0x334a770 [ORD=1] [ID=22]
0x334a770: v4f32 =
2013 Mar 24
0
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
That particular error is fixed in trunk, but with your code I'm now hitting
a new issue. I'll get the fix in soon.
On Fri, Mar 22, 2013 at 1:08 AM, upit <uday_pitambare at yahoo.com> wrote:
> Well, I tried the command line given by you and I get the following error
>
> clang++ nbody.kernel.cu -Xclang -fcuda-is-device
>
2013 Mar 16
3
[LLVMdev] internal compiler error when compiling llvm-gcc-4.2-2.9
Hi everyone,
Recently I tried to compile llvm-gcc-4.2-2.9 on a 64bit ubuntu12.04
machine. And I was using the settings below,
export C_INCLUDE_PATH=/usr/include/x86_64-linux-gnu
export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
../llvm-gcc-4.2-2.9.source/configure --enable-optimized
--program-prefix=llvm- --enable-checking
--enable-llvm=${HOME}/moonbox/llvm-obj/Debug+Asserts
2013 Mar 18
0
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
I noticed you're using cuda_runtime.h in the source file. Where are you
getting this file? From the CUDA toolkit?
Since the error is in the back-end, can you just post the .ll or .bc file
you are trying to compile?
On Mon, Mar 18, 2013 at 12:42 AM, upit <uday_pitambare at yahoo.com> wrote:
> I am trying to generate PTX code for 'nbody' sample program's kernel
>
2013 Mar 20
0
[LLVMdev] UNREACHABLE executed! error while trying to generate PTX
The problem you are seeing is because clang is putting the global variables
in address space 0, which in NVPTX means the generic address space. PTX
does not allow this, so the back-end *should* be printing an error for
you. Are you using trunk or 3.2?
Generally, clang won't be compatible with the CUDA Toolkit headers. If you
want to use the __constant__ modifier from CUDA in Clang, define
2013 Apr 12
1
[LLVMdev] Control Dependence Graph builder
Hi Arsen,
I wrote a pass that computes a control dependence graph as described in
Ferrante et al's "The Program Dependence Graph and Its Use in
Optimization." It is available at
https://github.com/thinkmoore/llvm-analysis.
Cheers,
Scott
On Fri, Apr 12, 2013 at 5:04 PM, John Criswell <criswell at illinois.edu>wrote:
> On 4/12/13 3:19 PM, Arsen wrote:
>
>> Thank
2012 Dec 26
1
[LLVMdev] Using argument in another module
Hi everyone,
I am building a function that would call a function in another module,
I found this related thread
http://llvm.1065342.n5.nabble.com/Using-a-function-from-another-module-td10506.html
All my functions have prototype
int f(myStruct * c);
here comes my problems
If I have Function* f1,*f2
f2 is in another module, f1 is the function I am building.
Somewhere in f1 , I set