Add skeleton for arrays in IR

This commit is contained in:
Jeehoon Kang
2020-04-01 23:44:37 +09:00
parent 93a1d767a5
commit cef3fb7650
8 changed files with 95 additions and 11 deletions

View File

@@ -174,6 +174,9 @@ impl WriteString for Instruction {
value,
target_dtype,
} => format!("typecast {} to {}", value.write_string(), target_dtype),
Instruction::GetElementPtr { ptr, offset, .. } => {
format!("getelementptr {} offset {}", ptr, offset)
}
}
}
}