summaryrefslogtreecommitdiffstats
path: root/content/zettel/2b1d.md
blob: 6f6382040c7409d99794203554f592519fd3711b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
+++
title = "Heuristic for if-conversion"
author = "Yann Herklotz"
tags = []
categories = []
backlinks = ["2b1c"]
forwardlinks = ["2b1e", "2b1d1"]
zettelid = "2b1d"
+++

Various heuristics can be used in if-conversion when generating
predicated instructions. These are needed because technically any path
without backward edges could be transformed into predicated execution
passes. However, there are various disadvantages with this, because it
increases the complexity of the predicates as these will depend on other
predicates, and makes optimisations of these large block more
problematic.