nv/codegen: Remove Function::buildDefSets

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24791>
This commit is contained in:
M Henning
2023-08-19 13:18:39 -04:00
parent bf48f7ca97
commit 10bbe17253
2 changed files with 0 additions and 11 deletions

View File

@@ -1260,7 +1260,6 @@ public:
inline LValue *getLValue(int id);
void buildLiveSets();
void buildDefSets();
bool convertToSSA();
public:

View File

@@ -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)
{