AMDGPU: Make isIntrinsicSourceOfDivergence table-driven
authorNicolai Haehnle <nhaehnle@gmail.com>
Sun, 1 Apr 2018 17:09:14 +0000 (17:09 +0000)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sun, 1 Apr 2018 17:09:14 +0000 (17:09 +0000)
commit4254d45a79d14179787f260a7c78ffc4a2461aa7
tree19ee9776dbf5c2fba67372ed1f78e97f8b564746
parent5d0d30304c5f2305d8458625e5e46db6cc7f0a06
AMDGPU: Make isIntrinsicSourceOfDivergence table-driven

Summary:
This is in preparation for the new dimension-aware image intrinsics,
which I'd rather not have to list here by hand.

Change-Id: Iaa16e3a635a11283918ce0d9e1e618591b0bf6fa

Reviewers: arsenm, rampitec, b-sumner

Subscribers: kzhuravl, wdng, yaxunl, dstuttard, tpr, llvm-commits, t-tye

Differential Revision: https://reviews.llvm.org/D44938

llvm-svn: 328939
llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp