[AMDGPU] gfx1010 SearchableTableEmitter patch for NSA

This part was accidentally missing from NSA image support commit.

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

llvm-svn: 360623
This commit is contained in:
Stanislav Mekhanoshin 2019-05-13 21:59:03 +00:00
parent 2ce598a44a
commit ec42fc177c
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ private:
bool compareBy(Record *LHS, Record *RHS, const SearchIndex &Index);
bool isIntegral(Init *I) {
return isa<BitsInit>(I) || isIntrinsic(I);
return isa<BitsInit>(I) || isa<CodeInit>(I) || isIntrinsic(I);
}
std::string searchableFieldType(const GenericField &Field, TypeContext Ctx) {