[all-commits] [llvm/llvm-project] 0ef13b: Make sure that offsets are still folded...

Fabian Ritter via All-commits all-commits at lists.llvm.org
Thu Mar 13 08:40:28 PDT 2025


  Branch: refs/heads/users/ritter-x2a/03-10-_separateconstoffsetfromgep_don_t_set_unsound_inbounds_flag
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ef13b233c765aa0953d14f0bc88786f19ebd514
      https://github.com/llvm/llvm-project/commit/0ef13b233c765aa0953d14f0bc88786f19ebd514
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
    M llvm/test/CodeGen/AMDGPU/constant-address-space-32bit.ll
    M llvm/test/CodeGen/AMDGPU/flat-scratch.ll

  Log Message:
  -----------
  Make sure that offsets are still folded...

...where they were folded previously, by manually applying the unsound
version of the transformation and, where necessary, increasing the
allocation size so that the transformed code is not statically
guaranteed to cause UB.


  Commit: 4a69fc8c00697da09a2d808e5d04f2dc8405d62c
      https://github.com/llvm/llvm-project/commit/4a69fc8c00697da09a2d808e5d04f2dc8405d62c
  Author: Fabian Ritter <fabian.ritter at amd.com>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    A llvm/test/CodeGen/AMDGPU/fold-gep-offset.ll

  Log Message:
  -----------
  Add some addressing mode tests that show the result of dropping the inbounds flag on offset folding.


Compare: https://github.com/llvm/llvm-project/compare/aaf1629364b7...4a69fc8c0069

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