summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-02-17 00:40:17 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-02-17 00:40:17 +0000
commit6d7c0c203e0ac7f1935ab00bcc250d4b4fb71eaf (patch)
tree24d3ae2662b9beadefd4a9f642fd9abe04a8782c /llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
parentbe266aa3251667c62fb2f96af939b53d5e82fe46 (diff)
downloadbcm5719-llvm-6d7c0c203e0ac7f1935ab00bcc250d4b4fb71eaf.tar.gz
bcm5719-llvm-6d7c0c203e0ac7f1935ab00bcc250d4b4fb71eaf.zip
MCAsmParser: better handling for named arguments
Until this point only macro definition with named parameters were parsed but the names were ignored. This adds support for using that information for named parameter instantiation. In order to support the full semantics of the keyword arguments, the arguments are no longer lazily initialised since the keyword arguments can be specified out of order and partially if they are defaulted. Prepopulate the arguments with the default value for any defaulted parameters, and then parse the specified arguments. This simplies some of the handling of the arguments in the inner loop since empty arguments simply increment the parameter index and move on. Note that keyword and positional arguments cannot be mixed. llvm-svn: 201499
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud