[all-commits] [llvm/llvm-project] 0f235c: [LowerConstantIntrinsics] Improve tests related to...

Björn Pettersson via All-commits all-commits at lists.llvm.org
Tue Dec 2 15:13:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f235c346c1592345c118565b3e3aaf5e9c72520
      https://github.com/llvm/llvm-project/commit/0f235c346c1592345c118565b3e3aaf5e9c72520
  Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    A llvm/test/Transforms/LowerConstantIntrinsics/builtin-object-size-idxsize.ll
    M llvm/test/Transforms/LowerConstantIntrinsics/builtin-object-size-phi.ll

  Log Message:
  -----------
  [LowerConstantIntrinsics] Improve tests related to llvm.objectsize. NFC (#132364)

Adding some new test cases (including FIXME:s) to highlight some bugs
related to lowering of llvm.objectsize.

One special case is when there are getelementptr instruction with index
types that are larger than the index type size for the pointer being
analysed. This will add a couple of tests to show what happens both when
using a smaller and larger index type, and when having out-of-bounds
indices (both too large and negative).



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