Displaying 2 results from an estimated 2 matches for "loop_block".
2013 Apr 17
2
[LLVMdev] Any value in pre-simplifying the DAG?
...with a "switch" branch. It appears the optimizers do a
fine job of unwinding the nonsense, reducing the conditions, and even
expanding the trailing paths.
For example, I terminate my blocks with a logical switch like this:
switch return_path, next_block
cleanup, except_block
break, loop_block
return, return_block
rethrow, except_block
In most cases I'd say only 1-2 of the cases are actually possible
(return_path cannot be the other values). Is there any value in me
attempting to produce a cleaner DAG to pass to the optimizer, or would I
just be duplicating effort the passes wil...
2013 Apr 18
0
[LLVMdev] Any value in pre-simplifying the DAG?
...It appears the optimizers do a
> fine job of unwinding the nonsense, reducing the conditions, and even
> expanding the trailing paths.
>
> For example, I terminate my blocks with a logical switch like this:
> switch return_path, next_block
> cleanup, except_block
> break, loop_block
> return, return_block
> rethrow, except_block
>
> In most cases I'd say only 1-2 of the cases are actually possible
> (return_path cannot be the other values). Is there any value in me
> attempting to produce a cleaner DAG to pass to the optimizer, or would I
> just be...