diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-07-01 01:24:09 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-07-01 01:24:09 +0000 |
commit | 6ad68551c3fbf780f91a3351e0704a7707fc19cf (patch) | |
tree | 58b84fc68050bbe39359d3effbe119c302b6f40e /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | 762c5ca3ee1441b4d2e5554846be614d871e2eca (diff) | |
download | bcm5719-llvm-6ad68551c3fbf780f91a3351e0704a7707fc19cf.tar.gz bcm5719-llvm-6ad68551c3fbf780f91a3351e0704a7707fc19cf.zip |
[Feature] Add a builtin for indexing into parameter packs. Patch by Louis Dionne.
This patch adds a __nth_element builtin that allows fetching the n-th type of a
parameter pack with very little compile-time overhead. The patch was inspired by
r252036 and r252115 by David Majnemer, which add a similar __make_integer_seq
builtin for efficiently creating a std::integer_sequence.
Reviewed as D15421. http://reviews.llvm.org/D15421
llvm-svn: 274316
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions