[all-commits] [llvm/llvm-project] 7a2596: [AMDGPU] Flip the default value of maybeAtomic. NF...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Jan 9 02:20:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a2596344045565f24dd08486a36a30d8966d27e
      https://github.com/llvm/llvm-project/commit/7a2596344045565f24dd08486a36a30d8966d27e
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/BUFInstructions.td
    M llvm/lib/Target/AMDGPU/DSDIRInstructions.td
    M llvm/lib/Target/AMDGPU/DSInstructions.td
    M llvm/lib/Target/AMDGPU/EXPInstructions.td
    M llvm/lib/Target/AMDGPU/FLATInstructions.td
    M llvm/lib/Target/AMDGPU/SIInstrFormats.td
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SMInstructions.td

  Log Message:
  -----------
  [AMDGPU] Flip the default value of maybeAtomic. NFCI. (#75220)

In practice maybeAtomic = 0 is used to prevent SIMemoryLegalizer from
interfering with instructions that are mayLoad or mayStore but lack
MachineMemOperands. These instructions should be the exception not the
rule, so this patch sets maybeAtomic = 1 by default and only overrides
it to 0 where necessary.




More information about the All-commits mailing list