Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Slow Correlated Value Propagation pass"
2011 Nov 21
2
[LLVMdev] A way to pass const char* arg without creating a GlobalVariable
Hi,
Is it possible to make up a ConstantArray containing a "const char*"
string and pass it directly to the function "char*" argument *without*
creating a GlobalVaribable?
I looked around and found the usual implementation is
array->globalVar->gep. If we omit globalVar & gep, then the argument
type would be [ i8 x N ], where N is set to the exact string length,
and
2011 Nov 21
0
[LLVMdev] A way to pass const char* arg without creating a GlobalVariable
What memory would the pointer argument point to?
― Gordon
On Nov 20, 2011, at 16:58, "Dmitry N. Mikushin" <maemarcus at gmail.com> wrote:
> Hi,
>
> Is it possible to make up a ConstantArray containing a "const char*"
> string and pass it directly to the function "char*" argument *without*
> creating a GlobalVaribable?
> I looked around and
2012 Jun 28
1
[LLVMdev] Any way to use a pass in opt, that does not have normal constructor?
Dear LLVM,
The TargetData pass needs target data layout to be specified in
constructor, and therefore its normal ctor is defined, but always
gives a fatal error.
Still, is there any way to make it loadable into the opt tool? I need
this to make use of bugpoint in reducing backend test case.
Thanks,
- Dima.
2016 Jan 13
5
High memory use and LVI/Correlated Value Propagation
Hi all,
with the current trunk I have two major cases where clang needs more
than 2GB memory for compiling programs with -O2. One is related to GVN
and MemoryDependenceAnalysis and has a pending patch. The other is
related to the Correlated Value Propagation and Lazy Value Information
cache. Attached is a heap profile for one of the relevant test cases.
Looking at the sources, I don't see any
2012 Sep 04
2
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
I think our test case demonstrates that requiring the array item being
initialized to be constant is incorrect. NVPTX does not crash anymore
and produces correct result with the following change:
--- NVPTXAsmPrinter.cpp 2012-09-03 15:14:00.000000000 +0200
+++ NVPTXAsmPrinter.cpp 2012-09-04 15:47:17.859398193 +0200
@@ -1890,17 +1890,15 @@
case Type::ArrayTyID:
case Type::VectorTyID:
case
2012 Jul 05
1
[LLVMdev] Accessing Return Variable Names
> Welcome, and this is a frequent newbie question: [...]
If not already there, could you find an appropriate place to put this
in the documentation?
--Sean Silva
On Thu, Jul 5, 2012 at 2:29 PM, Dmitry N. Mikushin <maemarcus at gmail.com> wrote:
> Hi John,
>
> Welcome, and this is a frequent newbie question: in LLVM names are
> more for human readability of the code, they
2012 Sep 06
0
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
On 09/04/2012 09:57 AM, Dmitry N. Mikushin wrote:
> I think our test case demonstrates that requiring the array item being
> initialized to be constant is incorrect. NVPTX does not crash anymore
> and produces correct result with the following change:
>
> --- NVPTXAsmPrinter.cpp 2012-09-03 15:14:00.000000000 +0200
> +++ NVPTXAsmPrinter.cpp 2012-09-04 15:47:17.859398193 +0200
>
2012 Jun 29
0
[LLVMdev] [NVPTX] Backend failure in LegalizeDAG due to unimplemented expand in target lowering
Hi again,
Kind people on #llvm helped me to utilize bugpoint to reduce the
previously submitted test case. For record, it code be done with the
following command:
$ bugpoint -llc-safe test.ll
The resulting IR is attached, and it is crashing in the same way. Is
it a valid code?
dmikushin at hp2:~/forge/kernelgen/branches/tests_lnt/behavior/sincos>
llc test.ll.1
This action is not supported
2012 Apr 19
3
[LLVMdev] CBackend removal
Dear all,
I've also noticed C backend was removed a little bit... silently. In
the end of March I only got open bugs closed by Benjamin Kramer in
bugzilla, but they sounded like "decision is made". So the question
is: it such silent removal a normal practice? In times of 3.0 release
there were long discussions on what to drop and what to preserve, e.g.
sparc backend, if I remember
2012 Jul 08
1
[LLVMdev] [NVPTX] Backend failure in LegalizeDAG due to unimplemented expand in target lowering
OK, thanks.
For our project I implemented a similar workaround: extend each i1
memory item to i8 and load/store i1 to i8 with a type cast. Still, the
issue in NVPTX remains. I don't know whether NVIDIA or community
fellows have any reasonable priority to fix it (or at least put an NYI
assertion!). It seems to be quite more complex, than implementing
custom lowering handler, that's why
2012 Jul 31
1
[LLVMdev] How to create a mangler instance from target machine?
Dear LLVM,
Might be a easy question for someone, but not for me now. Consider there is
a TargetMachine instance. Having this target, how could you get a
corresponding Mangler class instance?
Mangler depends on MCContext, which is connected with LLVMTargetMachine
inherited from TargetMachine. However, LLVMTargetMachine is only available
for targets machines implementations, and not available
2012 Sep 04
0
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
NVCC successfully handles the same IR, if we try to process the same
.cu file with clang+nvptx and nvcc:
CLANG/NVPTX:
=============
$ cat dayofweek.cu
__attribute__((device)) char yweek[7][4] = { "MON", "TUE", "WED",
"THU", "FRI", "SAT", "SUN" };
$ clang -cc1 -emit-llvm -fcuda-is-device dayofweek.cu -o dayofweek.ll
$ cat
2012 Apr 19
0
[LLVMdev] CBackend removal
Hi Dmitry,
Where were you expecting notice to have been given? If I recall correctly, the obsolescence of the C backend was mentioned many times on this mailing list, and as Owen notes, in the release notes since 2.8. I'm not trying to be snarky. You were obviously genuinely surprised by its removal, and that makes me wonder if where the core open source devs are expecting people to look for
2012 Sep 03
2
[LLVMdev] [NVPTX] Backend cannot handle array-of-arrays constant
Dear all,
Looks like the NVPTX backend cannot handle array-of-arrays contant
(please see the reporocase below). Is it supposed to work? Any ideas
how to get it working? Important for our target applications.
Thanks,
- Dima.
$ cat test.ll
; ModuleID = '__kernelgen_main_module'
target datalayout =
2012 Apr 19
1
[LLVMdev] CBackend removal
Dear Jim and Owen,
Thanks for replies,
I only kindly suggest some discussion on the maillist in such cases.
Just in general, nasty precedents sometimes happen, for example on IRC
I've recently seen some commits to Objective C were requested to be
reverted, because they were commited without any discussion. Here
things are certainly not that hard, but the point is the same: it is
always nice
2009 Dec 10
2
rsync speed on slow wireless links
Hello all!
I've noticed that rsync performs significantly worse than wget on slow congested wireless
links (GPRS in my case). I don't have large statistics, but in my tests rsync often stalls
for 3-5 minutes, while wget stalls only for several seconds and then continues download.
Is there any rsync protocol features which are sensitive to packet loss and unpredictable delay?
I
2012 Jul 05
0
[LLVMdev] Accessing Return Variable Names
Hi John,
Welcome, and this is a frequent newbie question: in LLVM names are
more for human readability of the code, they are not really used as
references internally. Instead engine operates instructions, which
could be "used by" or "user of" other instructions (see use_iterator
of Value.h). Also the Function class has an iterator of BasicBlocks,
and each BasicBlock has an
2012 Jul 18
0
[LLVMdev] [NVPTX] PTXAS - Unimplemented feature: labels as initial values
In ptx, variables need to be defined before referenced. NVPTX emits the global variables in the order as in the LLVM IR and does not sort them. It is a bug in the NVPTX backend.
Thanks.
Yuan
From: Dmitry N. Mikushin [mailto:maemarcus at gmail.com]
Sent: Wednesday, July 18, 2012 7:44 AM
To: LLVM-Dev
Cc: Justin Holewinski; Yuan Lin
Subject: [NVPTX] PTXAS - Unimplemented feature: labels as
2016 Jan 14
2
High memory use and LVI/Correlated Value Propagation
----- Original Message -----
> From: "Daniel Berlin via llvm-dev" <llvm-dev at lists.llvm.org>
> To: "Joerg Sonnenberger" <joerg at britannica.bec.de>, "llvm-dev"
> <llvm-dev at lists.llvm.org>
> Sent: Thursday, January 14, 2016 10:38:10 AM
> Subject: Re: [llvm-dev] High memory use and LVI/Correlated Value
> Propagation
> On
2009 May 28
0
[LLVMdev] Sparse propagation framework
On Wed, May 27, 2009 at 5:26 PM, Mark Lacey <superoptimizer at gmail.com> wrote:
> Hi All,
>
Hi Mark,
> I'm relatively new to LLVM (but not optimizing compilers), and have been
> reading docs and browsing code.
>
Bienvenue!
> I noticed in the 2.4 release notes that a sparse propagation framework had
> been added based on the SCCP algorithm. I might have a need for