[all-commits] [llvm/llvm-project] db5bcb: GlobalISel: Fix combine duplicating atomic loads (...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 31 07:55:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db5bcb24c20e9ad5558ba7bb4f90c3a6000665f1
      https://github.com/llvm/llvm-project/commit/db5bcb24c20e9ad5558ba7bb4f90c3a6000665f1
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-10-31 (Thu, 31 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 (#111730)

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



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