[all-commits] [llvm/llvm-project] 078f5f: DAG: Preserve more flags when expanding gep

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Oct 8 22:53:28 PDT 2024


  Branch: refs/heads/users/arsenm/dag-builder-set-more-flags-from-gep
  Home:   https://github.com/llvm/llvm-project
  Commit: 078f5f02502edadcc9c86f3e45f69e9fac918656
      https://github.com/llvm/llvm-project/commit/078f5f02502edadcc9c86f3e45f69e9fac918656
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/AMDGPU/gep-flags-stack-offsets.ll
    M llvm/test/DebugInfo/Sparc/pointer-add-unknown-offset-debug-info.ll

  Log Message:
  -----------
  DAG: Preserve more flags when expanding gep

This allows selecting the addressing mode for stack instructions
in cases where we need to prove the sign bit is zero.


  Commit: 792f3f6c208759c3b7cca428532f23d4477d4626
      https://github.com/llvm/llvm-project/commit/792f3f6c208759c3b7cca428532f23d4477d4626
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/AMDGPU/gep-flags-stack-offsets.ll

  Log Message:
  -----------
  Address comments

This loses the benefit in the test


  Commit: 449ff2d7b9cc566a89fa9809e2503ae28fbeda75
      https://github.com/llvm/llvm-project/commit/449ff2d7b9cc566a89fa9809e2503ae28fbeda75
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-09 (Wed, 09 Oct 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

  Log Message:
  -----------
  Address comments


Compare: https://github.com/llvm/llvm-project/compare/a20f4c0cd6c6...449ff2d7b9cc

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