This is an archive of the discontinued LLVM Phabricator instance.

TableGen: Support Intrinsic values in SearchableTable
ClosedPublic

Authored by nhaehnle on Mar 27 2018, 8:28 AM.

Details

Summary

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

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle created this revision.Mar 27 2018, 8:28 AM
arsenm accepted this revision.Mar 27 2018, 11:58 AM

LGTM

This revision is now accepted and ready to land.Mar 27 2018, 11:58 AM
This revision was automatically updated to reflect the committed changes.