[PATCH] D61868: [AMDGPU] gfx1010 SearchableTableEmitter patch for NSA

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 14:57:04 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL360623: [AMDGPU] gfx1010 SearchableTableEmitter patch for NSA (authored by rampitec, committed by ).
Herald added a project: LLVM.

Changed prior to commit:
  https://reviews.llvm.org/D61868?vs=199311&id=199335#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61868/new/

https://reviews.llvm.org/D61868

Files:
  llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp


Index: llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp
===================================================================
--- llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp
+++ llvm/trunk/utils/TableGen/SearchableTableEmitter.cpp
@@ -141,7 +141,7 @@
   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) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61868.199335.patch
Type: text/x-patch
Size: 569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190513/2762345a/attachment-0001.bin>


More information about the llvm-commits mailing list