Skip to content

Some builtin intrinsics that are not constexpr but could be #46593

Closed
@RKSimon

Description

@RKSimon
Bugzilla Link 47249
Version unspecified
OS Windows NT
CC @erichkeane,@zygoloid
Fixed by commit(s) e7d9182 , 2ceac91 , 00158ae

This isn't exhaustive, but all are low hanging fruit:

bit twiddling:

vectors:

  • __builtin_convertvector
  • __builtin_shufflevector

-fms-extensions variants:

  • __lzcnt16, __lzcnt, __lzcnt64 D157420 00158ae
  • __popcnt16, __popcnt, __popcnt64 D157420 00158ae
  • _rotl8, _rotl16, _rotl, _rotl64, _lrotl
  • _rotr8, _rotr16, _rotr, _rotr64, _lrotr

Metadata

Metadata

Labels

bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"good first issuehttps://github.com/llvm/llvm-project/contribute

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions