Displaying 4 results from an estimated 4 matches for "create_ladder_graph".
2017 Apr 24
3
Disable optimization on basic block level
...imits into LLVM itself, rather than try to have people control it this way :)
I completely agree!
Would be cool to create a suite of extreme inputs, maybe a special llvm test-suite module. This module would contain scripts that produce extreme inputs (long basic blocks, deeply nested loops, utils/create_ladder_graph.py, etc.) In fact I have a python script here as well that generates a few variations of stuff that was interesting to scheduling algos. It would just take someone to setup a proper test-suite and a bot for it and I'd happily contribute more tests :)
- Matthias
-------------- next part -------...
2017 Apr 25
2
Disable optimization on basic block level
...4, 2017 at 11:06:36AM -0700, Matthias Braun via llvm-dev wrote:
>> Would be cool to create a suite of extreme inputs, maybe a special llvm
>> test-suite module. This module would contain scripts that produce
>> extreme inputs (long basic blocks, deeply nested loops,
>> utils/create_ladder_graph.py, etc.) In fact I have a python script here
>> as well that generates a few variations of stuff that was interesting
>> to scheduling algos. It would just take someone to setup a proper
>> test-suite and a bot for it and I'd happily contribute more tests :)
>
> Well,...
2015 Oct 09
3
Python version for scripts in LLVM?
...uot;Visiting Count: %d with (Start, End) = (%d,%d)" % (count, start, end))
cmd = [x % {'count':count} for x in args.command]
- print cmd
+ print(cmd)
result = subprocess.call(cmd)
if result == 0:
print(" PASSES! Setting start to count")
Index: create_ladder_graph.py
===================================================================
--- create_ladder_graph.py (revision 249819)
+++ create_ladder_graph.py (working copy)
@@ -10,6 +10,7 @@
really behaving linearly.
"""
+from __future__ import print_function
import argparse
def main():
pa...
2017 Apr 24
3
Disable optimization on basic block level
How do you disable optimization for a function?
I ask because my application often compiles machine-generated code that
results in pathological structures that take a long time to optimize, for
little benefit. As an example, if a basic block has over a million
instructions in it, then DSE can take a while, as it is O(n^2) in the
number of instructions in the block. In my application (at least),