aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Selectionaux.ml
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-07-19 18:59:44 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-07-19 18:59:44 +0200
commit4c379d48b35e7c8156f3953fede31d5e47faf8ca (patch)
treefa19eb30178fcf74b0768d9f5df4017ab6afc770 /backend/Selectionaux.ml
parent3b79923a6c9fa8c76916df1eecfdecd7ae2124a5 (diff)
downloadcompcert-kvx-4c379d48b35e7c8156f3953fede31d5e47faf8ca.tar.gz
compcert-kvx-4c379d48b35e7c8156f3953fede31d5e47faf8ca.zip
helpers broke compilation
Diffstat (limited to 'backend/Selectionaux.ml')
-rw-r--r--backend/Selectionaux.ml5
1 files changed, 0 insertions, 5 deletions
diff --git a/backend/Selectionaux.ml b/backend/Selectionaux.ml
index 60a1eccd..574c31f0 100644
--- a/backend/Selectionaux.ml
+++ b/backend/Selectionaux.ml
@@ -96,17 +96,12 @@ If-conversion seems beneficial if:
Intuition: on a modern processor, the "then" and the "else" branches
can generally be computed in parallel, there is enough ILP for that.
So, the bad case is if the most taken branch is much cheaper than the
-<<<<<<< HEAD
-other branch. Since our cost estimates are very imprecise, the
-bound on the total cost acts as a safety guard,
-=======
other branch. Another bad case is if both branches are big: since the
code for one branch precedes entirely the code for the other branch,
if the first branch contains a lot of instructions,
dynamic reordering of instructions will not look ahead far enough
to execute instructions from the other branch in parallel with
instructions from the first branch.
->>>>>>> ddb2c968e6c57d2117434f169471d87f643d831a
*)
let if_conversion_heuristic cond ifso ifnot ty =