[all-commits] [llvm/llvm-project] 26d9f8: [clang][Interp] Add basic support for _BitInt (#68...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Oct 10 23:53:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26d9f851cfddf2d6b57239a7ba054d027756bfb7
      https://github.com/llvm/llvm-project/commit/26d9f851cfddf2d6b57239a7ba054d027756bfb7
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-10-11 (Wed, 11 Oct 2023)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Context.h
    M clang/lib/AST/Interp/IntegralAP.h
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/intap.cpp

  Log Message:
  -----------
  [clang][Interp] Add basic support for _BitInt (#68069)

Make sure we pass the expected bitwidth around when casting to
IntAP/IntAPS.

This makes it easier to test the `IntegralAP` code for different bit
widths than 128.




More information about the All-commits mailing list