diff options
author | Feng Chen <VonChenPlus@gmail.com> | 2022-10-25 12:57:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 12:57:25 +0800 |
commit | 165bce3c2d265760190ea848a064f0d6538710bb (patch) | |
tree | 56a7e2f101a87c95ea09aeaacc46b5ce2229cd73 /src/shader_recompiler/frontend/ir/value.h | |
parent | cbb6c24215aa0d5c0e620ff75f29a19275521a43 (diff) |
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
Diffstat (limited to 'src/shader_recompiler/frontend/ir/value.h')
-rw-r--r-- | src/shader_recompiler/frontend/ir/value.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shader_recompiler/frontend/ir/value.h b/src/shader_recompiler/frontend/ir/value.h index 1a2e4ccb61..6a673ca05a 100644 --- a/src/shader_recompiler/frontend/ir/value.h +++ b/src/shader_recompiler/frontend/ir/value.h @@ -178,13 +178,9 @@ public: /// Get a pointer to the block of a phi argument. [[nodiscard]] Block* PhiBlock(size_t index) const; - /// Add phi operand to a phi instruction. void AddPhiOperand(Block* predecessor, const Value& value); - // Erase the phi operand at the given index. - void ErasePhiOperand(size_t index); - /// Orders the Phi arguments from farthest away to nearest. void OrderPhiArgs(); |