ShaderCache: Order Phi Arguments from farthest away to nearest.

This commit is contained in:
Fernando Sahmkow 2021-10-31 17:46:46 +01:00
parent c47ff70bd5
commit c9bee9e96e
5 changed files with 37 additions and 0 deletions

View file

@ -182,6 +182,9 @@ public:
/// Add phi operand to a phi instruction.
void AddPhiOperand(Block* predecessor, const Value& value);
/// Orders the Phi arguments from farthest away to nearest.
void OrderPhiArgs();
void Invalidate();
void ClearArgs();