Add a regs_overlap function to the isa module.
Test it with the arm32 register banks which have the most interesting properties. Most other registers have a single register unit.
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
|
||||
pub use isa::constraints::{RecipeConstraints, OperandConstraint, ConstraintKind, BranchRange};
|
||||
pub use isa::encoding::{Encoding, EncInfo};
|
||||
pub use isa::registers::{RegInfo, RegUnit, RegClass, RegClassIndex};
|
||||
pub use isa::registers::{RegInfo, RegUnit, RegClass, RegClassIndex, regs_overlap};
|
||||
|
||||
use binemit::CodeSink;
|
||||
use settings;
|
||||
|
||||
Reference in New Issue
Block a user