[all-commits] [llvm/llvm-project] 41780b: GlobalISel: Fix combine duplicating atomic loads

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Oct 30 15:04:50 PDT 2024


  Branch: refs/heads/users/arsenm/globalisel-fix-duplicating-atomic-loads
  Home:   https://github.com/llvm/llvm-project
  Commit: 41780b3398f46745fabe2ae2d24ca02c6580cf49
      https://github.com/llvm/llvm-project/commit/41780b3398f46745fabe2ae2d24ca02c6580cf49
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_flat.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_global.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/atomic_load_local_2.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizer-combiner-sextload-from-sextinreg.mir

  Log Message:
  -----------
  GlobalISel: Fix combine duplicating atomic loads

The sext_inreg (load) combine was not deleting the old load instruction,
and it would never be deleted if volatile or atomic.


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

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp

  Log Message:
  -----------
  Add comment


Compare: https://github.com/llvm/llvm-project/compare/02d2bcc1c401...ecd0db95c861

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