mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 02:45:45 +00:00
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
This commit is contained in:
parent
43bca14217
commit
5c6dc51c69
12 changed files with 36 additions and 16 deletions
|
@ -32,7 +32,9 @@ public:
|
|||
[[nodiscard]] U64 Imm64(s64 value) const;
|
||||
[[nodiscard]] F64 Imm64(f64 value) const;
|
||||
|
||||
void DummyReference(const Value& value);
|
||||
U1 ConditionRef(const U1& value);
|
||||
void Reference(const Value& value);
|
||||
|
||||
void PhiMove(IR::Inst& phi, const Value& value);
|
||||
|
||||
void Prologue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue