[llvm] r360623 - [AMDGPU] gfx1010 SearchableTableEmitter patch for NSA
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 14:59:03 PDT 2019
Author: rampitec
Date: Mon May 13 14:59:03 2019
New Revision: 360623
URL: http://llvm.org/viewvc/llvm-project?rev=360623&view=rev
Log:
[AMDGPU] gfx1010 SearchableTableEmitter patch for NSA
This part was accidentally missing from NSA image support commit.
Differential Revision: https://reviews.llvm.org/D61868
Modified:
llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp
Modified: llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp?rev=360623&r1=360622&r2=360623&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp Mon May 13 14:59:03 2019
@@ -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) {
More information about the llvm-commits
mailing list