summaryrefslogtreecommitdiffstats
path: root/content/zettel/1c2h1.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/zettel/1c2h1.md')
-rw-r--r--content/zettel/1c2h1.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/zettel/1c2h1.md b/content/zettel/1c2h1.md
new file mode 100644
index 0000000..bb60e21
--- /dev/null
+++ b/content/zettel/1c2h1.md
@@ -0,0 +1,18 @@
++++
+title = "Loop Heuristic"
+date = "2022-05-11"
+author = "Yann Herklotz"
+tags = []
+categories = []
+backlinks = ["1c2h"]
+forwardlinks = ["1c2h2"]
+zettelid = "1c2h1"
++++
+
+> The successor does not postdominate the branch and is either a loop
+> head or a loop preheader (i.e., passes control unconditionally to a
+> loop head which it dominates). If the heuristic applies, predict the
+> successor *with* the property.
+
+This property says that if one is at a loop head, then one should
+predict that one takes the back-edge and does not exit the loop.