[PATCH 2/2] r600: Clear visited structure before running.
Jan Vesely
jan.vesely at rutgers.edu
Fri Mar 13 07:56:19 PDT 2015
On Thu, 2015-03-12 at 13:49 -0700, Matt Arsenault wrote:
> On 03/12/2015 12:13 PM, Jan Vesely wrote:
> > ping
> >
> > On Sat, 2015-02-28 at 13:16 -0500, Jan Vesely wrote:
> >> Fixes random crashes in for-loop piglit.
> >>
> >> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> >> ---
> >> lib/Target/R600/AMDILCFGStructurizer.cpp | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> diff --git a/lib/Target/R600/AMDILCFGStructurizer.cpp b/lib/Target/R600/AMDILCFGStructurizer.cpp
> >> index 18effba..d72de27 100644
> >> --- a/lib/Target/R600/AMDILCFGStructurizer.cpp
> >> +++ b/lib/Target/R600/AMDILCFGStructurizer.cpp
> >> @@ -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););
>
> LGTM
thanks, is that for both, or just 2/2 ?
--
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150313/208d5498/attachment.sig>
More information about the llvm-commits
mailing list