[all-commits] [llvm/llvm-project] 24539f: Add Alignment argument to IRBuilder CreateAtomicRM...

James Y Knight via All-commits all-commits at lists.llvm.org
Thu Feb 25 15:30:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24539f1ef2471d07bd87f833cb0288fc0f251f4b
      https://github.com/llvm/llvm-project/commit/24539f1ef2471d07bd87f833cb0288fc0f251f4b
  Author: James Y Knight <jyknight at google.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M clang/lib/CodeGen/CGBuilder.h
    M llvm/include/llvm/CodeGen/AtomicExpandUtils.h
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/lib/CodeGen/AtomicExpandPass.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/Core.cpp
    M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/InstrOrderFile.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td

  Log Message:
  -----------
  Add Alignment argument to IRBuilder CreateAtomicRMW and CreateAtomicCmpXchg.

And then push those change throughout LLVM.

Keep the old signature in Clang's CGBuilder for now -- that will be
updated in a follow-on patch (D97224).

The MLIR LLVM-IR dialect is not updated to support the new alignment
attribute, but preserves its existing behavior.

Differential Revision: https://reviews.llvm.org/D97223




More information about the All-commits mailing list