[all-commits] [llvm/llvm-project] 22f0eb: TargetLibraryInfo: Use pointer index size to deter...

Owen Anderson via All-commits all-commits at lists.llvm.org
Wed Dec 11 18:46:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22f0ebb19cd216a1748263c4dbabcd832206f3ea
      https://github.com/llvm/llvm-project/commit/22f0ebb19cd216a1748263c4dbabcd832206f3ea
  Author: Owen Anderson <resistor at mac.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.h
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/stdio-custom-dl.ll
    M llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll
    M llvm/test/Transforms/MergeICmps/X86/distinct-index-width-crash.ll

  Log Message:
  -----------
  TargetLibraryInfo: Use pointer index size to determine getSizeTSize(). (#118747)

When using non-integral pointer types, such as on CHERI targets, size_t
is equivalent
to the index size, which is allowed to be smaller than the size of the
pointer.



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