commit | 217f03f322c2376078d9e0f5d80ef1b46acea279 | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Feb 14 22:24:28 2019 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Thu Feb 14 22:24:28 2019 +0000 |
tree | bcfb1e7fd2e61411501122acd52933386e593f53 | |
parent | 2f5fd7e3bdaca8e72b23a002221af7f9d17469be [diff] |
AMDGPU/GlobalISel: Fix RegBankSelect for GEP. This is basically a pointer typed add, so shouldn't be any different. This was assuming everything was an SGPR, which is not true. Also cleanup legality for GEP. I don't seem to be seeing the problem the hack marking s64 as a legal pointer type the comment mentions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354067 91177308-0d34-0410-b5e6-96231b3b80d8