From 10bbe172534ac46618a6187eebf250cf22c92fc6 Mon Sep 17 00:00:00 2001 From: M Henning Date: Sat, 19 Aug 2023 13:18:39 -0400 Subject: [PATCH] nv/codegen: Remove Function::buildDefSets Reviewed-by: Karol Herbst Part-of: --- src/nouveau/codegen/nv50_ir.h | 1 - src/nouveau/codegen/nv50_ir_bb.cpp | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/src/nouveau/codegen/nv50_ir.h b/src/nouveau/codegen/nv50_ir.h index 235c9f44197..272bbda3b33 100644 --- a/src/nouveau/codegen/nv50_ir.h +++ b/src/nouveau/codegen/nv50_ir.h @@ -1260,7 +1260,6 @@ public: inline LValue *getLValue(int id); void buildLiveSets(); - void buildDefSets(); bool convertToSSA(); public: diff --git a/src/nouveau/codegen/nv50_ir_bb.cpp b/src/nouveau/codegen/nv50_ir_bb.cpp index 94c0f144945..d6bec119750 100644 --- a/src/nouveau/codegen/nv50_ir_bb.cpp +++ b/src/nouveau/codegen/nv50_ir_bb.cpp @@ -438,16 +438,6 @@ Function::buildLiveSets() BasicBlock::get(bi)->liveSet.marker = false; } -void -Function::buildDefSets() -{ - for (unsigned i = 0; i <= loopNestingBound; ++i) - buildDefSetsPreSSA(BasicBlock::get(cfgExit), cfg.nextSequence()); - - for (ArrayList::Iterator bi = allBBlocks.iterator(); !bi.end(); bi.next()) - BasicBlock::get(bi)->liveSet.marker = false; -} - bool Pass::run(Program *prog, bool ordered, bool skipPhi) {