diff options
| author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-02-10 04:00:17 +0000 |
|---|---|---|
| committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2017-02-10 04:00:17 +0000 |
| commit | 982c5eb396a9a30b5dd17ac71fab9a9860317e85 (patch) | |
| tree | 9b95aede39eecc48d84576fdf4b7796594fed580 /libcxx/src/support/runtime/exception_glibcxx.ipp | |
| parent | fb9ae0e3fe98c7fb8e8c2f956c0907b437cb7c48 (diff) | |
| download | bcm5719-llvm-982c5eb396a9a30b5dd17ac71fab9a9860317e85.tar.gz bcm5719-llvm-982c5eb396a9a30b5dd17ac71fab9a9860317e85.zip | |
[GlobalISel] Return an Expected<RuleMatcher> for each SDAG pattern. NFC.
Instead of emitting the matcher code directly, return the rule matcher
and the skip reason as an Expected<RuleMatcher>.
This will let us record all matchers and process them before emission.
It's a somewhat unconventional use of Error, but it's nicer than, say,
std::pair, because of the bool conversions.
Differential Revision: https://reviews.llvm.org/D29743
llvm-svn: 294706
Diffstat (limited to 'libcxx/src/support/runtime/exception_glibcxx.ipp')
0 files changed, 0 insertions, 0 deletions

