[all-commits] [llvm/llvm-project] d0750e: AtomicExpand: Avoid some operations if the atomic ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 13 23:31:18 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0750ec47566d66f499d9cb932af5b8c85816c80
      https://github.com/llvm/llvm-project/commit/d0750ec47566d66f499d9cb932af5b8c85816c80
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i16.ll
    M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i8.ll
    M llvm/test/Transforms/AtomicExpand/SPARC/partword.ll

  Log Message:
  -----------
  AtomicExpand: Avoid some operations if the atomic is overaligned

Let some of the pointer bithacking fold away if we know the LSB are 0.




More information about the All-commits mailing list