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.
TODO: what about MLIR?
| Paths 
 |  Differential  D97223  
Add Alignment argument to IRBuilder CreateAtomicRMW and CreateAtomicCmpXchg. ClosedPublic Authored by jyknight on Feb 22 2021, 1:29 PM. 
Details Summary And then push those change throughout LLVM. Keep the old signature in Clang's CGBuilder for now -- that will be TODO: what about MLIR? 
Diff Detail 
 
Unit TestsFailed Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project.  ·  View Herald TranscriptFeb 22 2021, 1:29 PM Herald added subscribers: llvm-commits, cfe-commits, stephenneuendorffer, nicolasvasilache.  ·  View Herald Transcript Comment Actions 
 The instructions already had alignment support added to the type constructor and IR/BC in prior changes by gchatelet -- this is just updating the IRBuilder constructor. 
 Comment Actions 
 For the record the previous patches introducing the alignment were D87443 and D83465. Comment Actions Ah, sorry, I missed that. In that case, LGTM, but you may want to respond to other reviews. This revision is now accepted and ready to land.Feb 23 2021, 2:09 PM This revision was landed with ongoing or failed builds.Feb 25 2021, 3:30 PM Closed by commit rG24539f1ef247: Add Alignment argument to IRBuilder CreateAtomicRMW and CreateAtomicCmpXchg. (authored by jyknight).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
 
Revision Contents 
 
 
Diff 325554 clang/lib/CodeGen/CGBuilder.h
 llvm/include/llvm/CodeGen/AtomicExpandUtils.h
 llvm/include/llvm/IR/IRBuilder.h
 llvm/lib/CodeGen/AtomicExpandPass.cpp
 llvm/lib/IR/AutoUpgrade.cpp
 llvm/lib/IR/Core.cpp
 llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
 llvm/lib/Transforms/Instrumentation/InstrOrderFile.cpp
 llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
 mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
clang-tidy: warning: invalid case style for function 'CreateAtomicCmpXchg' [readability-identifier-naming]
not useful