From 6e0834eea93be03a758627c965b82a90af8f1559 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Wed, 12 Jul 2017 09:49:02 -0700 Subject: [PATCH] Tag the regmove instruction with other_side_effects. This instruction moves a value between registers. This counts as a side effect that is not tracked by the SSA data flow graph. --- lib/cretonne/meta/base/instructions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cretonne/meta/base/instructions.py b/lib/cretonne/meta/base/instructions.py index 109bc73f9e..e1b38086e4 100644 --- a/lib/cretonne/meta/base/instructions.py +++ b/lib/cretonne/meta/base/instructions.py @@ -484,7 +484,8 @@ regmove = Instruction( before the value leaves the EBB. At the entry to a new EBB, all live values must be in their originally assigned registers. """, - ins=(x, src, dst)) + ins=(x, src, dst), + other_side_effects=True) # # Vector operations