Skip to content

Commit

Permalink
Clarify that FixedTied constraints are not Tied (bytecodealliance#756)
Browse files Browse the repository at this point in the history
* Clarify that FixedTied constraints are not Tied
  • Loading branch information
lars-t-hansen authored and bnjbvr committed May 2, 2019
1 parent 18a5386 commit 5cd0724
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cranelift/codegen/src/isa/constraints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 5cd0724

Please sign in to comment.