Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] [PATCH] CalculateSpillWeights does not need to be a pass"
2013 Nov 08
1
[LLVMdev] [PATCH] CalculateSpillWeights does not need to be a pass
Committed at r194269
Thanks Jakob !
Cheers,
--
Arnaud
On Fri, Nov 8, 2013 at 6:34 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
> On Nov 8, 2013, at 7:40 AM, Arnaud Allard de Grandmaison <
> arnaud.adegm at gmail.com> wrote:
>
> > Based on discussions with Lang Hames and Jakob Stoklund Olesen at the
> hacker's lab, and in the light of upcoming
2013 Nov 08
0
[LLVMdev] [PATCH] CalculateSpillWeights does not need to be a pass
On Nov 8, 2013, at 7:40 AM, Arnaud Allard de Grandmaison <arnaud.adegm at gmail.com> wrote:
> Based on discussions with Lang Hames and Jakob Stoklund Olesen at the hacker's lab, and in the light of upcoming work on the PBQP register allocator, it was though that CalcSpillWeights does not need to be a pass. This change will enable to customize / tune the spill weight computation
2012 Mar 21
2
[LLVMdev] PBQP & CalcSpillWeights
Hi All,
I finally had a chance to get back to my pbqp trials, now using the 3.0
release. I still hit the same assert : "Attempting to spill already spilled
value."
This is triggered because in RegAllocPBQP::mapPBQPToRegAlloc, a vreg node is
either :
- a physical register (problem.isPRegOption(vreg, alloc)),
- or a spill (problem.isSpillOption(vreg, alloc))
The problem is that pass
2012 Mar 23
0
[LLVMdev] PBQP & CalcSpillWeights
Hi Arnaud,
LiveInterval::markNotSpillable() sets the live interval's spill weight
to infinity. For well-formed PBQP graphs (i.e. ones that have some
finite-cost solution), PBQP should never chose to spill such an
interval. The two possibilities for this crash are that the input
graph has no finite-cost solution, or that you've exposed a bug in the
PBQP solver.
>From memory your target
2013 Jan 09
2
[LLVMdev] LLVM ERROR: ran out of registers during register allocation
Ok, I've found that marking tiny live intervals as not spillable inside
VirtRegAuxInfo::CalculateWeightAndHint is not playing nicely with very
constrained regclasses, in my case a regclass composed of only one
register.
As a workaround, instead of marking them as not spillable, I've marked them
with a very high spill cost and the regalloc is able to compile the
function with good code
2013 Jan 09
0
[LLVMdev] LLVM ERROR: ran out of registers during register allocation
On Jan 9, 2013, at 10:46 AM, Borja Ferrer <borja.ferav at gmail.com> wrote:
> Ok, I've found that marking tiny live intervals as not spillable inside VirtRegAuxInfo::CalculateWeightAndHint is not playing nicely with very constrained regclasses, in my case a regclass composed of only one register.
> As a workaround, instead of marking them as not spillable, I've marked them
2017 Jul 31
1
[RFC PATCH] nv50/ir: allow spilling of def values for constrained MERGES/UNIONS
This lets us spill more values and compile a big shader for Civilization 6.
Signed-off-by: Tobias Klausmann <tobias.johannes.klausmann at mni.thm.de>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
index b33d7b4010..f29c8a1a95
2012 Sep 18
2
[LLVMdev] liveness assertion problem in llc
Hi,
I am working on a backend for a CGRA architecture with advanced predicate support (as on EPIC machines and as first used in the OpenIMPACT compiler). Until last month, the backend was working fine, but since the r161643 commit by stoklund, my backend doesn't work anymore. I think I noticed some related commits later on, and the assertion I get on the latest trunk (r164162) differs from
2019 Feb 26
2
2019 EuroLLVM Registration - Early Bird Rate Ending TODAY!
Hi Simon,
The page will be updated later today with the new rate.
Kind regards,
Arnaud
On Tue, Feb 26, 2019 at 12:52 PM Simon Dardis via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Hi,
>
> The EventBrite page is showing sales have ended, will it be reopening with
> the higher rate soon?
>
> Thanks,
> Simon
>
> On Tue, 26 Feb 2019 at 00:20, Tanya Lattner via
2010 Sep 20
2
[LLVMdev] Supporting Complex Register Allocation Constraints (PBQP Allocator Status Update)
Hi Jakob,
> Out of curiosity, how are you dealing with live range splitting and
> coalescing in PBQP? I know you added the LoopSplitter pass.
>
> For linear scan in LLVM we are going in the direction of aggressive
> coalescing before allocation, and on-demand splitting during allocation.
>
> I know that other allocators use no early coalescing, and coalesce during
>
2015 Dec 13
4
CFP for the 6th European LLVM conference on March 17-18, 2016 in Barcelona, Spain
We are pleased to announce the 6th European LLVM conference on March 17-18,
2016 in Barcelona, Spain.
This will be a full two-day conference which aims to present the latest
developments around LLVM and help strengthen the network of LLVM developers
and users. The format will be similar to that of the previous meetings,
with ample time for presentations, discussion, and networking between
2012 Jun 12
2
[LLVMdev] How to use LLVM optimizations with clang
Thanks again.
I executed the following command line
llc -O3 comb.ll.bc -debug-pass=Arguments
and got
Pass Arguments: -targetdata -targetpassconfig -no-aa -tbaa
-targetlibinfo -basicaa -collector-metadata -machinemoduleinfo
-machine-branch-prob -preverify -domtree -verify -loops -loop-simplify
-scalar-evolution -loop-simplify -iv-users -loop-reduce -gc-lowering
-unreachableblockelim
2012 Feb 03
1
[LLVMdev] register allocation
Well, I actually glue my condition-registers already, but as far as I know this only affects the scheduling from the DAG to the MachineFunction. It still happened that a register allocator at -O0 would spill this register for no reason at all in between these instructions.
The CopyCost attribute would help me, if the register allocators would factor it in with the spillWeight calculation. I
2015 Jul 15
1
[LLVMdev] Poor register allocation (constants causing spilling)
Hi Quentin,
Sorry for the delay, I've been bogged down with other things today.
On 14 July 2015 at 18:48, Quentin Colombet <qcolombet at apple.com> wrote:
>>
>> * A rematerializable interval once split is no longer rematerializable *
>>
>> The isRematerializable check in CalcSpillWeights.cpp uses the target
>> instruction info to check that the machine
2014 Apr 08
9
[LLVMdev] 3.4.1 Release Plans
Tom (and Andy, Owen, Evan, Nadav),
I'd like the following commits placed into the 3.4.1 branch. I've attempted to sort this list by code owner:
Andrew Trick:
r203719 - PR17473
r203725 - This test need the X86 backend, move it to the X86 sub directory. [adjusts the test location from r203719]
r202273 - Fix PR18165: LSR must avoid scaling factors that exceed the limit on truncated use.
2012 Mar 27
0
[LLVMdev] PBQP & CalcSpillWeights
Hi Arnaud,
Thanks for attaching those files. I'll take a look at them.
Commit r153483 adds an option to the PBQP allocator,
"-pbqp-dump-graphs", to dump the PBQP graph for each round of each
function in a compilation unit. The generated files are named "<module
id>.<function>.<round>.pbqpgraph", and contain a simple text
representation of the PBQP graph.
2013 Jan 07
0
[LLVMdev] LLVM ERROR: ran out of registers during register allocation
On Jan 7, 2013, at 4:58 AM, Borja Ferrer <borja.ferav at gmail.com> wrote:
> Hello Jakob,
>
> Did you get a chance to take a look into this, and if not, can you do it when you get some spare time?
It's not likely I'll have time to look at this in the near future. I'd recommend you do it yourself.
/jakob
> 2012/12/19 Borja Ferrer <borja.ferav at gmail.com>
2012 Jun 12
0
[LLVMdev] How to use LLVM optimizations with clang
Hi,
> I executed the following command line
>
> llc -O3 comb.ll.bc -debug-pass=Arguments
>
> and got
>
> Pass Arguments: -targetdata -targetpassconfig -no-aa -tbaa
> -targetlibinfo -basicaa -collector-metadata -machinemoduleinfo
> -machine-branch-prob -preverify -domtree -verify -loops -loop-simplify
> -scalar-evolution -loop-simplify -iv-users -loop-reduce
2012 Mar 26
2
[LLVMdev] PBQP & CalcSpillWeights
Hi Lang,
> From memory your target is not public, so I won't be able to reproduce
> the crash myself. Is that correct?
Correct.
> If that's the case, I could add functionality to dump the PBQP graphs
> during allocation. I think they should give me enough information to
> debug the issue. Would you be able to share the PBQP graphs?
I can share the pbqp graph if you send
2018 Jan 08
1
LLVM Social - Paris: January 30th, 2018
The next LLVM social in Paris will happen on January 30th, 2018.
Everyone interested in LLVM, Clang, lldb, Polly, lld, ... is invited to
join.
Event details, including registration (free but mandatory) at
http://www.meetup.com/LLVM-Clang-social
For this meetup, Adrien Guinet, Serge Guelton and Juan Manuel Martinez will
talk about the "Challenges when building an LLVM bitcode