commit | 9d6fa96f469b336652297a43a114465c7c2ab9df | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Jun 02 18:37:16 2016 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Jun 02 18:37:16 2016 +0000 |
tree | 763a746970a031f63a1e93fe3f0a88df5bf25b80 | |
parent | faa90164c9adce368eaeed7abbbff59a2bbafacf [diff] |
AMDGPU: Fix crashes on unknown processor name If the processor name failed to parse for amdgcn, the resulting output would have R600 ISA in it. If the processor name was missing or invalid for R600, the wavefront size would not be set and there would be crashes from missing itinerary data. Fixes crashes in future commit caused by dividing by the unset/0 wavefront size. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271561 91177308-0d34-0410-b5e6-96231b3b80d8