[all-commits] [llvm/llvm-project] 00158a: [clang] Enable constexpr on LZCNT/POPCNT MS extens...

alexguirre via All-commits all-commits at lists.llvm.org
Mon Aug 14 03:33:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 00158ae236ddfdc7dda5ea7a8a20e3921007ba86
      https://github.com/llvm/llvm-project/commit/00158ae236ddfdc7dda5ea7a8a20e3921007ba86
  Author: Alejandro Aguirre <alexguirre.aa at gmail.com>
  Date:   2023-08-14 (Mon, 14 Aug 2023)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/Builtins.def
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/CodeGen/ms-intrinsics-other.c

  Log Message:
  -----------
  [clang] Enable constexpr on LZCNT/POPCNT MS extension intrinsics

As discussed on #46593 - this enables us to use __lzcnt / __popcnt intrinsics inside constexpr code.

Differential Revision: https://reviews.llvm.org/D157420




More information about the All-commits mailing list