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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Oct 15 21:57:33 PDT 2024


  Branch: refs/heads/users/arsenm/globalisel-fix-duplicating-atomic-loads
  Home:   https://github.com/llvm/llvm-project
  Commit: a14d4628a19d3f863f9b44a615951e864d755771
      https://github.com/llvm/llvm-project/commit/a14d4628a19d3f863f9b44a615951e864d755771
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-16 (Wed, 16 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: 203907314da879672009afb8165a4981e0ba79e9
      https://github.com/llvm/llvm-project/commit/203907314da879672009afb8165a4981e0ba79e9
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

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

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


Compare: https://github.com/llvm/llvm-project/compare/3ab6aae05699...203907314da8

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