From 9fcee8aba9dedf734ece497f0b7a93c7dabc5b39 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Sun, 23 Jul 2023 19:19:10 +0200 Subject: [PATCH] early-access version 3776 --- README.md | 2 +- src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 21db0f329..5f9c786ab 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3775. +This is the source code for early-access 3776. ## Legal Notice diff --git a/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp b/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp index 945b5a19b..0250c1d69 100755 --- a/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp +++ b/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp @@ -14,12 +14,12 @@ // #include +#include #include +#include #include #include -#include - #include "shader_recompiler/frontend/ir/basic_block.h" #include "shader_recompiler/frontend/ir/opcodes.h" #include "shader_recompiler/frontend/ir/pred.h" @@ -52,7 +52,7 @@ struct IndirectBranchVariable { using Variant = std::variant; -using ValueMap = boost::container::flat_map; +using ValueMap = std::unordered_map; struct DefTable { const IR::Value& Def(IR::Block* block, IR::Reg variable) { @@ -112,7 +112,7 @@ struct DefTable { } std::array preds; - boost::container::flat_map goto_vars; + std::unordered_map goto_vars; ValueMap indirect_branch_var; ValueMap zero_flag; ValueMap sign_flag; @@ -295,8 +295,7 @@ private: return same; } - boost::container::flat_map> - incomplete_phis; + std::unordered_map> incomplete_phis; DefTable current_def; };