search for: cansinkinstructions

Displaying 2 results from an estimated 2 matches for "cansinkinstructions".

2016 Sep 02
2
Problem with "[SimplifyCFG] Handle tail-sinking of more than 2 incoming branches"
...ct between the address. This breaks our selection of this types of loads. We need a way to tell this code to not do that. The solutions I kind of see for this is: - Add some TTI hook that stops this sinking from happening for instructions that don’t support that like in this case (maybe added in canSinkInstructions()) - Add some TTI hook that is a little bit coarser that stops the optimization to run altogether. In particular this thing is creating “unstructured control-flow” in some cases and this is not always good (and actually generally bad) on GPU targets. - Put the optimization in another separate pas...
2016 Sep 02
2
Problem with "[SimplifyCFG] Handle tail-sinking of more than 2 incoming branches"
...reaks our selection of this types of loads. > > We need a way to tell this code to not do that. > > The solutions I kind of see for this is: > > - Add some TTI hook that stops this sinking from happening for instructions that don’t support that like in this case (maybe added in canSinkInstructions()) > > - Add some TTI hook that is a little bit coarser that stops the optimization to run altogether. In particular this thing is creating “unstructured control-flow” in some cases and this is not always good (and actually generally bad) on GPU targets. > > - Put the optimization in...