[all-commits] [llvm/llvm-project] 4b5e7f: [clang][bytecode] Handle bitcasts involving bitfie...

Timm Baeder via All-commits all-commits at lists.llvm.org
Wed Dec 4 02:25:26 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b5e7fa4de54e00df007ae5e2675393fd046aa59
      https://github.com/llvm/llvm-project/commit/4b5e7fa4de54e00df007ae5e2675393fd046aa59
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-12-04 (Wed, 04 Dec 2024)

  Changed paths:
    A clang/lib/AST/ByteCode/BitcastBuffer.cpp
    A clang/lib/AST/ByteCode/BitcastBuffer.h
    M clang/lib/AST/ByteCode/Boolean.h
    M clang/lib/AST/ByteCode/Integral.h
    M clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp
    M clang/lib/AST/CMakeLists.txt
    A clang/test/AST/ByteCode/builtin-bit-cast-bitfields.cpp
    M clang/test/AST/ByteCode/builtin-bit-cast.cpp
    A clang/unittests/AST/ByteCode/BitcastBuffer.cpp
    M clang/unittests/AST/ByteCode/CMakeLists.txt

  Log Message:
  -----------
  [clang][bytecode] Handle bitcasts involving bitfields (#116843)

Copy the data one bit at a time, leaving optimizations for future work.
Adds a BitcastBuffer that takes care of pushing the bits in the right
order.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list