aboutsummaryrefslogtreecommitdiffstats
path: root/backend/CSE3.v
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-10-30 20:59:54 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2020-10-30 20:59:54 +0100
commit7158ee7375fc78ea73248354febdbedfd4abf1fc (patch)
treebfb4b50fd226341bd6e45e232f18e049fa0440ad /backend/CSE3.v
parent82ecfc692b0f84b52162e5f0972fbcc6a9f7f51e (diff)
downloadcompcert-kvx-7158ee7375fc78ea73248354febdbedfd4abf1fc.tar.gz
compcert-kvx-7158ee7375fc78ea73248354febdbedfd4abf1fc.zip
reinstated old version
Diffstat (limited to 'backend/CSE3.v')
-rw-r--r--backend/CSE3.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/CSE3.v b/backend/CSE3.v
index 58e179e2..df1c2bfc 100644
--- a/backend/CSE3.v
+++ b/backend/CSE3.v
@@ -58,7 +58,7 @@ Definition transf_instr (fmap : PMap.t RB.t)
match instr with
| Iop op args dst s =>
let args' := subst_args fmap pc args in
- match (if andb (negb (Compopts.optim_CSE3_trivial_ops tt)) (is_trivial_op op) then None else find_op_in_fmap fmap pc op args') with
+ match (if is_trivial_op op then None else find_op_in_fmap fmap pc op args') with
| None => Iop op args' dst s
| Some src => Iop Omove (src::nil) dst s
end