forked from OSchip/llvm-project
r600: Clear visited structure before running.
Fixes random crashes in for-loop piglit. Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> Reviewed-by: Matt Arsenault <Matthew.Arsenault@amd.com> llvm-svn: 232181
This commit is contained in:
parent
18b289f590
commit
7a9cca9e7d
|
@ -167,6 +167,7 @@ public:
|
|||
TRI = &TII->getRegisterInfo();
|
||||
DEBUG(MF.dump(););
|
||||
OrderedBlks.clear();
|
||||
Visited.clear();
|
||||
FuncRep = &MF;
|
||||
MLI = &getAnalysis<MachineLoopInfo>();
|
||||
DEBUG(dbgs() << "LoopInfo:\n"; PrintLoopinfo(*MLI););
|
||||
|
|
Loading…
Reference in New Issue