[PATCH 2/2] r600: Clear visited structure before running.
Jan Vesely
jan.vesely at rutgers.edu
Thu Mar 12 12:13:09 PDT 2015
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););
--
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/20150312/397de216/attachment.sig>
More information about the llvm-commits
mailing list