Add raw_bitcast instruction
Casts bits as a different type of the same width with no change to the data (unlike bitcast)
This commit is contained in:
@@ -50,6 +50,12 @@ impl OperandKinds {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<Vec<OperandKind>> for OperandKinds {
|
||||
fn from(kinds: Vec<OperandKind>) -> Self {
|
||||
OperandKinds(kinds)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn define() -> Definitions {
|
||||
let mut all_instructions = AllInstructions::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user