[all-commits] [llvm/llvm-project] 0f7324: [clang][bytecode] Fix getting pointer element type...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sun Mar 9 04:58:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f732481acccb3ac22b70e326feae854cf972126
      https://github.com/llvm/llvm-project/commit/0f732481acccb3ac22b70e326feae854cf972126
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-03-09 (Sun, 09 Mar 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp

  Log Message:
  -----------
  [clang][bytecode] Fix getting pointer element type in __builtin_memcmp (#130485)

When such a pointer is heap allocated, the type we get is a pointer
type. Take the pointee type in that case.



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