diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2020-03-11 17:00:48 +0100 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2020-03-11 17:00:48 +0100 |
commit | 3fef5e1d45820a775a7c941851af6f0bf3f1537d (patch) | |
tree | fc36893a6d590f33bd21ab40e040143793998eaa /backend/Linearize.v | |
parent | 1b00a75796a8ace42cc480efadaad948407f5a31 (diff) | |
download | compcert-kvx-3fef5e1d45820a775a7c941851af6f0bf3f1537d.tar.gz compcert-kvx-3fef5e1d45820a775a7c941851af6f0bf3f1537d.zip |
Adding info field for branching in RTL, LTL, XTL and all associated passes
Diffstat (limited to 'backend/Linearize.v')
-rw-r--r-- | backend/Linearize.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/Linearize.v b/backend/Linearize.v index 4216958c..66b36428 100644 --- a/backend/Linearize.v +++ b/backend/Linearize.v @@ -179,7 +179,7 @@ Fixpoint linearize_block (b: LTL.bblock) (k: code) : code := Lbuiltin ef args res :: linearize_block b' k | LTL.Lbranch s :: b' => add_branch s k - | LTL.Lcond cond args s1 s2 :: b' => + | LTL.Lcond cond args s1 s2 _ :: b' => if starts_with s1 k then Lcond (negate_condition cond) args s2 :: add_branch s1 k else |