mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-05 14:08:17 +01:00
ir_opt: Remove redundant shift instructions
This commit is contained in:
parent
f9e7e85308
commit
bbeea72eba
4 changed files with 48 additions and 7 deletions
|
|
@ -305,6 +305,7 @@ void Inst::Invalidate() {
|
|||
}
|
||||
value = {};
|
||||
}
|
||||
op = Opcode::Void;
|
||||
}
|
||||
|
||||
void Inst::ReplaceUsesWith(Value replacement) {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
// opcode name, return type, arg1 type, arg2 type, arg3 type, ...
|
||||
|
||||
OPCODE(Void, T::Void, )
|
||||
OPCODE(Identity, T::Opaque, T::Opaque )
|
||||
OPCODE(Breakpoint, T::Void, )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue