llvm/llvm-project
GitHub で見る[Clang] Support elementwise/reduction builtins in constexpr contexts.
Open
#51,787 opened on 2021年11月9日
bugzillacc++26clang:frontendconstexprextension:clanggood first issue
Repository metrics
- Stars
- (26,378 stars)
- PR merge metrics
- (平均マージ 1d 2h) (30d で 1,000 merged PRs)
説明
| Bugzilla Link | 52445 |
| Version | trunk |
| OS | All |
| CC | @DougGregor,@RKSimon,@zygoloid |
Extended Description
Clang recently specified a set of builtins for elementwise operations and reductions on vectors:
https://clang.llvm.org/docs/LanguageExtensions.html#vector-builtins
They should also be supported in constexpr contexts.