HomePhabricator

[TableGen] Generate offsets into a flat array for getOperandType

Description

[TableGen] Generate offsets into a flat array for getOperandType

Rather than an array of std::initializer_list, generate a table of
offsets and a flat array of the operands for getOperandType. This is a
bit more efficient on platforms that don't manage to get the array of
inintializer_lists initialized at link time (I'm looking at you
macOS). It's also quite quite a bit faster to compile.

Details

Committed
bognerJul 16 2019, 3:39 PM
Parents
rL366277: Enable the obsequi application for Darwin. It seems to run with no issues.
Branches
Unknown
Tags
Unknown