[PATCH 2/2] r600: Clear visited structure before running.
Matt Arsenault
Matthew.Arsenault at amd.com
Fri Mar 13 09:48:23 PDT 2015
On 03/13/2015 07:56 AM, Jan Vesely wrote:
> 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 ?
>
>
both
More information about the llvm-commits
mailing list