From 5cd0724fef55447849713208429359f6ed75abd1 Mon Sep 17 00:00:00 2001 From: Lars T Hansen Date: Thu, 2 May 2019 14:33:54 +0200 Subject: [PATCH] Clarify that FixedTied constraints are not Tied (#756) * Clarify that FixedTied constraints are not Tied --- cranelift/codegen/src/isa/constraints.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cranelift/codegen/src/isa/constraints.rs b/cranelift/codegen/src/isa/constraints.rs index d6e8097385..ce1d2a5fe1 100644 --- a/cranelift/codegen/src/isa/constraints.rs +++ b/cranelift/codegen/src/isa/constraints.rs @@ -105,13 +105,13 @@ pub struct RecipeConstraints { /// constraints must be derived from the calling convention ABI. pub outs: &'static [OperandConstraint], - /// Are any of the input constraints `FixedReg`? + /// Are any of the input constraints `FixedReg` or `FixedTied`? pub fixed_ins: bool, - /// Are any of the output constraints `FixedReg`? + /// Are any of the output constraints `FixedReg` or `FixedTied`? pub fixed_outs: bool, - /// Are there any tied operands? + /// Are any of the input/output constraints `Tied` (but not `FixedTied`)? pub tied_ops: bool, /// Does this instruction clobber the CPU flags?