[all-commits] [llvm/llvm-project] 2ceac9: Enable constexpr on ROTATELEFT/ROTATERIGHT builtin...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Aug 22 06:44:18 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ceac91ec0fc186ff503402e7b88e4576a69008d
      https://github.com/llvm/llvm-project/commit/2ceac91ec0fc186ff503402e7b88e4576a69008d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/Sema/constant-builtins-2.c

  Log Message:
  -----------
  Enable constexpr on ROTATELEFT/ROTATERIGHT builtin intrinsics (PR47249)

This enables us to use the __builtin_rotateleft / __builtin_rotateright 8/16/32/64 intrinsics inside constexpr code.

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


  Commit: e7d9182a666a2a8f903bd330c82d7c623b783371
      https://github.com/llvm/llvm-project/commit/e7d9182a666a2a8f903bd330c82d7c623b783371
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/Sema/constant-builtins-2.c

  Log Message:
  -----------
  Enable constexpr on BITREVERSE builtin intrinsics (PR47249)

This enables us to use the __builtin_bitreverse 8/16/32/64 intrinsics inside constexpr code.

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


Compare: https://github.com/llvm/llvm-project/compare/ec06b3813041...e7d9182a666a


More information about the All-commits mailing list