Displaying 20 results from an estimated 500 matches similar to: "[LLVMdev] Polly issue"
2012 Jul 31
3
[LLVMdev] [DragonEgg] Mysterious FRAME coming from gimple to LLVM
Hi Duncan,
A DragonEgg/GCC-related question: do you know where these strange FRAME
tokens originate from (e.g. %struct.FRAME.matmul)? Compiling simple Fortran
code with DragonEgg:
> cat matmul.f90
subroutine matmul(nx, ny, nz)
implicit none
integer :: nx, ny, nz
real, dimension(nx, ny) :: A
real, dimension(ny, nz) :: B
real, dimension(nx, nz) :: C
integer :: i, j, k
real,
2016 Nov 10
2
Polly | Dependence detection details
Hi everyone,
I'll be very thankful if anyone can help me. I want to extract the
dependences details by using polly.
I followed the following steps on example code matmul.c:
1. clang -S -emit-llvm matmul.c -o matmul.s
2. opt -S -polly-canonicalize matmul.s > matmul.preopt.ll
3. opt -basicaa -polly-dependences -analyze matmul.preopt.ll
But it doesn't show me the dependences. I
2009 Mar 31
1
error during DPpackage compilation
Dear All,
I've had trouble compiling DPpackage as a user in one system. It works fine
as root in other machines.
I can see any clues in error messages My guess is that it is a permissions
matter.
Any help is appreciated.
OS: Linux
Kernel: 2.6.27 SMP
Arch: Intel 64 bits
gfortran not available
Thank you.
----------------------><8-------------------------------------
g77 ? -fpic ?-g
2012 Apr 18
0
[LLVMdev] how to get path profile information ?
What version of LLVM are you using? The profiling framework is completely messed up in the newer versions of LLVM.. I used to work with profiling in 2.5 some time ago, and it seemed to work fine.. If you really need this to work quickly, you might want to just get the old version and get on with it..
The newer versions of LLVM need to get the profiling part fixed soon..It is messing up my work as
2012 Apr 18
2
[LLVMdev] how to get path profile information ?
Dear all,
I have already checked some related posted messages, such as:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-January/012315.html and
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-February/012466.html
After getting rid of some error messages, I was able to run the following
commands:
1) opt -insert-path-profiling matmul.bc -o matmul.pp.bc
2) lli -load
2017 Apr 28
2
LLVMGetFirstFunction() / LLVMGetNextFunction( ) problem
Hi, I have a problem - looking for advice.
I have a source code file with two functions which are compiled into a .bc
file.
When the bitcode file is loaded, I can dump the module and see the two
functions:
...
; Materializable
; Function Attrs: noinline nounwind uwtable
define void @matmul(double*, double*, double*, i32, i32, i32) #0 {}
; Materializable
; Function Attrs: noinline nounwind
2009 Aug 12
2
Problem with function in fortran 95
I am writing a function in fortran 95, but the intrinsic function MATMUL is not working properly. Here's an example.
SUBROUTINE mymult(x,y,res,m,n)
IMPLICIT NONE
INTEGER :: m,n
REAL :: x, y, res
DIMENSION :: x(m,n), y(n,m), res(m,m)
res = MATMUL(x,y)
END SUBROUTINE mymult
R CMD SHLIB mat.f95
In R:
dyn.load("mat.so")
x <-
2016 Feb 03
3
opt with Polly doesn't find the passes
I just checkout release_38 branches of llvm, clang and polly and built
it on and x86 Ubuntu with cmake:
CMAKE_BUILD_TYPE="Debug"
CMAKE_INSTALL_PREFIX="$HOME/toolchain/install/llvm-3.8"
LLVM_TARGETS_TO_BUILD="X86"
cmake -G "Unix Makefiles" \
-DBUILD_SHARED_LIBS="ON" \
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
2017 May 18
2
Computing loop trip counts with Scalar evolution
Hello.
I tried to get the trip count of a loop with Scalar evolution. I got inspired from
http://stackoverflow.com/questions/13834364/how-to-get-loop-bounds-in-llvm .
However the analysis described there doesn't work well for the second inner loop of
thes function below (although if we declare Bcols a short it works well):
void MatMul(int Arows, int Acols, int Brows, int
2015 Jun 26
4
[LLVMdev] Function "llvm::PassManager::run" not defined.
Hi,
I am trying to use GDB for debugging my llvm pass. I am following the
documentation http://llvm.org/docs/WritingAnLLVMPass.html. When i am doing
this the following error and warning messages I am getting. I tried to
remove the warning by apt-get install libc6-dbg:i386 command for updating
the libc6 but still getting the same.
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+:
2011 Jun 08
2
[LLVMdev] Polly test and example
Hi, all
I tried Polly installation on Ubuntu.
On its building, it returned no errors.
But when I run "make polly-test", it returns 11 unexpected failures as
follows.
-----------------------------------
********************
Testing Time: 19.77s
********************
Failing Tests (11):
Polly :: CodeGen/do_pluto_matmult.ll
Polly :: CodeGen/loop_with_condition.ll
Polly ::
2012 Jul 31
0
[LLVMdev] [DragonEgg] Mysterious FRAME coming from gimple to LLVM
According to comment in tree-nested.c, these frames should be only
introduced in case of debug or OpenMP lowering:
/* A subroutine of convert_nonlocal_reference_op. Create a local variable
in the nested function with DECL_VALUE_EXPR set to reference the true
variable in the parent function. This is used both for debug info
and in OpenMP lowering. */
However, in this code example we
2012 Sep 22
2
[LLVMdev] Heads up! New SROA implementation is going on-by-default today!
After a lot of testing and help from Duncan, Benjamin, Joerg and others, I
think the new SROA is ready for some broader testing. I've fixed all the
crashers and miscompiles that Duncan and Joerg have been able to find
(although I'm sure there are a few left I'll tackle when there are
reports), and the LNT numbers look *really* good. Here is the latest LNT
run we got by flipping it on
2013 Feb 27
0
Bigalgebra and irlba error
When running irlba on a big.matrix as in the example from the vignette (on Windows R 2.15.2 64 bit) it returns with an error (see below). irlba works fine on a regular R matrix
> library(bigalgebra)
> library(irlba)
Loading required package: Matrix
Loading required package: lattice
> matmul <- function(A, x, transpose=FALSE)
+ {
+ if(transpose) {return(t( t(x) %*% A))}# i.e.,
2011 Jun 09
0
[LLVMdev] Polly test and example
On 06/08/2011 01:17 AM, MORIYAMA Tomohiro wrote:
> Hi, all
>
> I tried Polly installation on Ubuntu.
>
> On its building, it returned no errors.
> But when I run "make polly-test", it returns 11 unexpected failures as
> follows.
> -----------------------------------
> ********************
> Testing Time: 19.77s
> ********************
> Failing Tests
2016 Jun 09
2
[Proposal][RFC] Cache aware Loop Cost Analysis
On Wed, Jun 8, 2016 at 10:20 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
> ------------------------------
>
> *From: *"Vikram TV via llvm-dev" <llvm-dev at lists.llvm.org>
> *To: *"DEV" <llvm-dev at lists.llvm.org>
> *Sent: *Wednesday, June 8, 2016 2:58:17 AM
> *Subject: *[llvm-dev] [Proposal][RFC] Cache aware Loop Cost Analysis
>
2012 Sep 24
1
[LLVMdev] Heads up! New SROA implementation is going on-by-default today!
On Mon, Sep 24, 2012 at 3:41 AM, David Tweed <david.tweed at arm.com> wrote:
> Just a note that the following new regressions have started to show up on
> ARM/Linux:
>
Thanks for letting me know!
I know that there is one serious bug that would impact in BE system. I
should have that fixed today, along with a crasher. I would appreciate help
tracking down any issues once the one I
2016 Feb 03
4
opt with Polly doesn't find the passes
Hi Tobias,
I tried to invoke other passes and none of them are available, e.g.:
~/toolchain/install/llvm-3.8/bin/opt -load
~/toolchain/install/llvm-3.8/lib/libPolly.so -polly-cleanup
opt: Unknown command line argument '-polly-cleanup'. Try:
'/home/fwinter/toolchain/install/llvm-3.8/bin/opt -help'
opt: Did you mean '-polly-tiling'?
I am just shooting around hoping to
2016 Jun 23
2
[Proposal][RFC] Cache aware Loop Cost Analysis
On Thu, Jun 23, 2016 at 9:54 AM, Adam Nemet <anemet at apple.com> wrote:
>
> On Jun 9, 2016, at 9:21 AM, Vikram TV via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>
>
> On Wed, Jun 8, 2016 at 10:20 PM, Hal Finkel <hfinkel at anl.gov> wrote:
>
>>
>> ------------------------------
>>
>> *From: *"Vikram TV via
2011 Jun 24
0
[LLVMdev] LLVM autovectorization support
On 24 June 2011 21:13, Xin Tong Utoronto <x.tong at utoronto.ca> wrote:
> I would like to know the status of the autovectorization support in LLVM.
> does LLVM have a loop dependence analysis, does LLVM have a infrastructure
> for autovectorization ? etc.
Not yet, but it's getting there...
http://polly.grosser.es/
cheers,
--renato