[all-commits] [llvm/llvm-project] 91af0d: [clang][Interp] Make sure we push integers of the ...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Aug 17 01:36:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91af0d0a669880918eda2d2bd2d6185b2903a402
      https://github.com/llvm/llvm-project/commit/91af0d0a669880918eda2d2bd2d6185b2903a402
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M clang/lib/AST/Interp/Integral.h
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/test/AST/Interp/builtin-functions.cpp

  Log Message:
  -----------
  [clang][Interp] Make sure we push integers of the correct size

Integers might not be 32 bits wide, so check the TargetInfo for their
size.

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




More information about the All-commits mailing list