diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-14 09:19:26 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-14 09:19:26 +0100 |
commit | bbe0809b3cd483ce5fc82e4f2d0a106823c54f26 (patch) | |
tree | 4088aa9ff1394a76739a299e6b0bd10b6aa6426e /backend/CSE3.v | |
parent | d5e49c9d1e68a2b5305fb18b051a272345283275 (diff) | |
download | compcert-kvx-bbe0809b3cd483ce5fc82e4f2d0a106823c54f26.tar.gz compcert-kvx-bbe0809b3cd483ce5fc82e4f2d0a106823c54f26.zip |
CSE3 alias analysis
Diffstat (limited to 'backend/CSE3.v')
-rw-r--r-- | backend/CSE3.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/CSE3.v b/backend/CSE3.v index 161a394a..d0dc3aef 100644 --- a/backend/CSE3.v +++ b/backend/CSE3.v @@ -46,7 +46,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 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 |