Cranelift: implement redundant fill removal on tree-shaped CFG regions. Mozilla bug 1570584. (#906)
This commit is contained in:
@@ -210,6 +210,10 @@ pub enum SerInstData {
|
||||
src: String,
|
||||
dst: String,
|
||||
},
|
||||
CopyToSsa {
|
||||
opcode: String,
|
||||
src: String,
|
||||
},
|
||||
RegSpill {
|
||||
opcode: String,
|
||||
arg: String,
|
||||
@@ -651,6 +655,10 @@ pub fn get_inst_data(inst_index: Inst, func: &Function) -> SerInstData {
|
||||
src: src.to_string(),
|
||||
dst: dst.to_string(),
|
||||
},
|
||||
InstructionData::CopyToSsa { opcode, src } => SerInstData::CopyToSsa {
|
||||
opcode: opcode.to_string(),
|
||||
src: src.to_string(),
|
||||
},
|
||||
InstructionData::RegSpill {
|
||||
opcode,
|
||||
arg,
|
||||
|
||||
Reference in New Issue
Block a user