Commit 1ce7e9e6 authored by Marek Olšák's avatar Marek Olšák

si-report.py: fix parsing without asm

Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
parent 051cebbe
......@@ -176,6 +176,8 @@ class si_parser(object):
match = si_parser.re_stats.match(msg)
if match is not None:
if self._stats == None:
self._stats = si_stats()
self._stats.sgprs = int(match.group(1))
self._stats.vgprs = int(match.group(2))
self._stats.code_size = int(match.group(3))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment