aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-08-29 21:00:00 +0000
committerTim Northover <tnorthover@apple.com>2016-08-29 21:00:00 +0000
commitf8bab1ce0cac4c802372af46cd4c0045eab6fdb4 (patch)
treefd823fb350c7044d853edfe44d714a6f0754a28a /llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
parentb3b5a7362c525c9e195e49cba31f4300aa491443 (diff)
downloadllvm-f8bab1ce0cac4c802372af46cd4c0045eab6fdb4.zip
llvm-f8bab1ce0cac4c802372af46cd4c0045eab6fdb4.tar.gz
llvm-f8bab1ce0cac4c802372af46cd4c0045eab6fdb4.tar.bz2
GlobalISel: use multi-dimensional arrays for legalize actions.
Instead of putting all possible requests into a single table, we can perform the extremely dense lookup based on opcode and type-index in constant time using multi-dimensional array-like things. This roughly halves the time spent doing legalization, which was dominated by queries against the Actions table. llvm-svn: 280011
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp')
0 files changed, 0 insertions, 0 deletions