[PATCH] D44935: TableGen: Support Intrinsic values in SearchableTable

Nicolai Hähnle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 08:28:03 PDT 2018


nhaehnle created this revision.
nhaehnle added reviewers: arsenm, rampitec, b-sumner.
Herald added subscribers: tpr, wdng.

We will use this in the AMDGPU backend in a subsequent patch
in the stack to lookup target-specific per-intrinsic information.

The generic CodeGenIntrinsic machinery is used to ensure that,
even though we don't calculate actual enum values here, we do
get the intrinsics in the right order for the binary search
index.

Change-Id: If61cd5587963a4c5a1cc53df1e59c5e4dec1f9dc


Repository:
  rL LLVM

https://reviews.llvm.org/D44935

Files:
  test/TableGen/searchabletables-intrinsic.td
  utils/TableGen/SearchableTableEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44935.139936.patch
Type: text/x-patch
Size: 6900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180327/457783e8/attachment.bin>


More information about the llvm-commits mailing list