[all-commits] [llvm/llvm-project] ed4194: [X86] Set MaxAtomicSizeInBitsSupported. (#75112)

James Y Knight via All-commits all-commits at lists.llvm.org
Tue Dec 12 05:17:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed4194bb8dbca5222628c2cddbc032fff57193b5
      https://github.com/llvm/llvm-project/commit/ed4194bb8dbca5222628c2cddbc032fff57193b5
  Author: James Y Knight <jyknight at google.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/atomic-idempotent.ll
    M llvm/test/CodeGen/X86/atomic-nocx16.ll
    M llvm/test/CodeGen/X86/atomic-ops-ancient-64.ll
    A llvm/test/CodeGen/X86/atomic-oversize.ll
    M llvm/test/CodeGen/X86/atomic-xor.ll

  Log Message:
  -----------
  [X86] Set MaxAtomicSizeInBitsSupported. (#75112)

This will result in larger atomic operations getting expanded to
`__atomic_*` libcalls via AtomicExpandPass, which matches what Clang
already does in the frontend.




More information about the All-commits mailing list