1
0
Fork 0
forked from eden-emu/eden

shader_recompiler: GCC fixes

This commit is contained in:
lat9nq 2021-05-29 02:09:29 -04:00 committed by ameerj
parent 08935e289f
commit fc7edccbc1
14 changed files with 13 additions and 3 deletions

View file

@ -91,7 +91,6 @@ std::string RegAlloc::Consume(const IR::Value& value) {
}
std::string RegAlloc::Consume(IR::Inst& inst) {
const Id id{inst.Definition<Id>()};
inst.DestructiveRemoveUsage();
// TODO: reuse variables of same type if possible
// if (!inst.HasUses()) {