Displaying 20 results from an estimated 300 matches similar to: "How to make LLVM go faster?"
2018 Sep 12
2
How to make LLVM go faster?
Thanks, that was a really helpful suggestion. If you're curious- here are
some of the high cost areas:
===-------------------------------------------------------------------------===
DWARF Emission
===-------------------------------------------------------------------------===
Total Execution Time: 2.0117 seconds (2.0185 wall clock)
---User Time---
2012 Mar 23
0
[LLVMdev] Execution Engine: CodeGenOpt level
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of nlamee at cs.mcgill.ca
> Subject: [LLVMdev] Execution Engine: CodeGenOpt level
> 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)?
We set the optimization level with a
2013 Apr 15
10
[Bug 2091] New: scp hangs while copying a large file and being executed as a background process ( with nohup )
https://bugzilla.mindrot.org/show_bug.cgi?id=2091
Bug ID: 2091
Summary: scp hangs while copying a large file and being
executed as a background process ( with nohup )
Classification: Unclassified
Product: Portable OpenSSH
Version: 6.1p1
Hardware: Other
OS: AIX
Status: NEW
Severity:
2011 May 10
2
Being VERY careful while using the --delete option
On UNIX, I am executing an rsync command, from within a script. The command
goes something like this:
/usr/bin/rsync --verbose --progress --stats --compress --recursive --times
--perms --links --safe-links source_dir/
user at target_machine:/parent_path/source_dir
In other words, I am replicating source_dir on a remote machine. It ends up
next to a lot of sibling, directories, like this:
On
2014 Dec 04
0
Re: [PATCH v2] v2v: When picking a default kernel, favour non-debug kernels over debug kernels (RHBZ#1170073).
On Thursday 04 December 2014 10:21:40 Richard W.M. Jones wrote:
> ---
> v2v/convert_linux.ml | 18 +++++++++++++++---
> 1 file changed, 15 insertions(+), 3 deletions(-)
>
> diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
> index f670812..39a520c 100644
> --- a/v2v/convert_linux.ml
> +++ b/v2v/convert_linux.ml
> @@ -49,13 +49,14 @@ type kernel_info = {
>
2006 Aug 14
0
[LLVMdev] Folding instructions
On Aug 13, 2006, at 11:16 PM, Fernando Magno Quintao Pereira wrote:
>
> Dear LLVMers,
>
> I am trying to fold memory operands in the way that is done in
> RegAllocLocal.cpp, or in LiveIntervalAnalysis.cpp, but I am getting
> errors
> that
> I don't know how to fix. Could someone tell me which steps should I
> take
> in order
> to correctly fold memory
2014 Dec 04
2
[PATCH v2] v2v: When picking a default kernel, favour non-debug kernels over debug kernels (RHBZ#1170073).
---
v2v/convert_linux.ml | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index f670812..39a520c 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -49,13 +49,14 @@ type kernel_info = {
ki_modules : string list; (* The list of module names. *)
ki_supports_virtio : bool; (* Kernel has
2020 Sep 23
0
[v2v PATCH 3/3] linux: remove special handling of packages with no files
We check for /boot/vmlinuz-* files in packages with files, and List.find
will raise Not_found if there are none. Iterating on an empty list gives
the same result, so there is no need to handle empty packages in a
special way.
---
v2v/linux_kernels.ml | 321 +++++++++++++++++++++----------------------
1 file changed, 158 insertions(+), 163 deletions(-)
diff --git a/v2v/linux_kernels.ml
2011 Nov 22
2
[LLVMdev] Instrumentation passes and -O0 optimization level
Hi LLVMdev,
llvm::PassManagerBuilder allows to customize the default pass
sequenceby registering passes at specific extension points.However all
of theextensions if the -O0 flag is added to the command line; as
thecomment says, "If all optimizations are disabled, just run
thealways-inline pass."This doesn't play well with
_instrumentation_passes which should not be disabled
2017 Jun 21
2
question about llvmlite
Hi all,
I am using llvmlite for pyvex and I want the output of my code (which is written based on llvmlite) to be like pyvex. In pyvex, (https://github.com/angr/pyvex). Considering pyvex, I tried to implement the following statements in pyvex to llvmlite:
for stmt in irsb.statements: if isinstance(stmt, pyvex.IRStmt.Store): print "ST%s(%s) = %s" % (self.endness[-2:].lower(),
2006 Aug 14
2
[LLVMdev] Folding instructions
> Hi Fernando,
>
> It's hard to say exactly what's happening because I don't know your
> code (though, from the stack trace, it seems like there's some sort
> of memory debacle), but looking at the comment in the
> LiveVariableAnalysis.cpp file where it's folding memory operands, it
> might explain somethings better:
>
> // Folding the
2006 Aug 14
0
[LLVMdev] Folding instructions
On Mon, 14 Aug 2006, Fernando Magno Quintao Pereira wrote:
> I reload spilled code. If I am doing something evidently wrong, I would
> appreciate if someone tells me. With the comment on vrm->virtFolded, I am
> passing all the tests that I have.
I haven't had a chance to look at the code you have below, but I would
guess that you are leaving a dangling pointer in some map
2014 Dec 04
1
[PATCH] v2v: When picking a default kernel, favour non-debug kernels over debug kernels (RHBZ#1170073).
---
v2v/convert_linux.ml | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index f670812..420aba5 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -49,13 +49,14 @@ type kernel_info = {
ki_modules : string list; (* The list of module names. *)
ki_supports_virtio : bool; (* Kernel has
2006 Aug 14
2
[LLVMdev] Folding instructions
Dear LLVMers,
I am trying to fold memory operands in the way that is done in
RegAllocLocal.cpp, or in LiveIntervalAnalysis.cpp, but I am getting errors
that
I don't know how to fix. Could someone tell me which steps should I take
in order
to correctly fold memory operands? The code that I am using is:
const TargetMachine & target_machine =
this->machine_function->getTarget();
2015 Jun 08
2
[LLVMdev] Removing AvailableExternal values in GlobalDCE (was Re: RFC: ThinLTO Impementation Plan)
Talked to Eric Fri and he suggested that this might be the first of
several places where we want behavior of LTO compiles to diverge from
normal -O2 compiles. So for now I have implemented this such that we
pass down -flto to the -cc1 job, and that gets propagated as a code
gen option and into the PassManagerBuilder. I have left the current
logic translating -flto to the -emit-llvm-bc option,
2011 Nov 30
2
[LLVMdev] Instrumentation passes and -O0 optimization level
On Tue, Nov 29, 2011 at 4:31 PM, Chandler Carruth <chandlerc at google.com>wrote:
> On Tue, Nov 29, 2011 at 8:56 AM, Alexander Potapenko <glider at google.com>wrote:
>
>> PS. Should we move the discussion to cfe-commits or it's ok to
>> continue the review process here?
>>
>
> For future reference, please send patches which touch both LLVM and Clang
2011 Nov 30
2
[LLVMdev] Instrumentation passes and -O0 optimization level
On Nov 29, 2011, at 11:26 PM, Alexander Potapenko wrote:
>>
>> Alex,
>> Now, the patch is actually a bit confusing to me.
>> EP_AlwaysEnabled should mean "works with O0 after inliner and with >= O1
>> somewhere late", but it doesn't look like it works this way (otherwise, you
>> wouldn't need to call PMBuilder.addExtension twice).
>>
2012 Oct 17
2
[LLVMdev] please advise on PassManager
Hello,
I've recently changed AddressSanitizer (asan) compiler pass from ModulePass
to FunctionPass and it could a bit of mayhem.
The problem is that asan FunctionPass instruments a function foo, then foo
gets inlined into bar, then bar gets instrumented
and thus the code of foo gets instrumented twice (which causes run-time
crash).
This happens only at -O0; at -O1 we get the correct order of
2011 Nov 30
0
[LLVMdev] Instrumentation passes and -O0 optimization level
>
> Alex,
> Now, the patch is actually a bit confusing to me.
> EP_AlwaysEnabled should mean "works with O0 after inliner and with >= O1
> somewhere late", but it doesn't look like it works this way (otherwise, you
> wouldn't need to call PMBuilder.addExtension twice).
> ?
This was actually my question to Devang.
Any other suggestions for the EP name?
2011 Nov 30
0
[LLVMdev] Instrumentation passes and -O0 optimization level
+cfe-commits (as the patch touches both llvm and clang)
On Wed, Nov 30, 2011 at 9:33 AM, Devang Patel <dpatel at apple.com> wrote:
>
> On Nov 29, 2011, at 11:26 PM, Alexander Potapenko wrote:
>
> >>
> >> Alex,
> >> Now, the patch is actually a bit confusing to me.
> >> EP_AlwaysEnabled should mean "works with O0 after inliner and with >=