[all-commits] [llvm/llvm-project] b45236: [clang] Implement constexpr bit_cast for vectors (...

DaPorkchop_ via All-commits all-commits at lists.llvm.org
Mon Oct 30 11:15:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b45236f13391dbe03fb9ea029b1a42e6dd989de4
      https://github.com/llvm/llvm-project/commit/b45236f13391dbe03fb9ea029b1a42e6dd989de4
  Author: DaPorkchop_ <daporkchop at daporkchop.net>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticASTKinds.td
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/test/CodeGen/const-init.c
    A clang/test/SemaCXX/constexpr-builtin-bit-cast-fp80.cpp
    M clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp

  Log Message:
  -----------
  [clang] Implement constexpr bit_cast for vectors (#66894)

This makes __builtin_bit_cast support converting to and from vector
types in a constexpr context.




More information about the All-commits mailing list