ir_opt: Remove redundant shift instructions

This commit is contained in:
MerryMage 2017-02-18 21:46:36 +00:00
parent f9e7e85308
commit bbeea72eba
4 changed files with 48 additions and 7 deletions

View file

@ -305,6 +305,7 @@ void Inst::Invalidate() {
}
value = {};
}
op = Opcode::Void;
}
void Inst::ReplaceUsesWith(Value replacement) {