[PATCH] IR: add failure ordering to the cmpxchg instruction
Tim Northover
t.p.northover at gmail.com
Mon Mar 10 04:25:09 PDT 2014
Hi all,
After getting a couple of positive responses to the proposal to add a second ordering parameter to the "cmpxchg" instruction, to model C++11 operations, I've polished the patches up and would like to commit.
Does it look reasonable? The main detail I'm unsure of is: should I have bumped some .bc version field up, or did we stop doing that? Nothing jumped out at me.
Cheers.
Tim.
http://llvm-reviews.chandlerc.com/D3023
Files:
docs/LangRef.rst
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h
include/llvm/IR/IRBuilder.h
include/llvm/IR/Instructions.h
lib/Analysis/AliasAnalysis.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/IR/AsmWriter.cpp
lib/IR/AsmWriter.h
lib/IR/Instruction.cpp
lib/IR/Instructions.cpp
lib/IR/Verifier.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/CppBackend/CPPBackend.cpp
lib/Target/X86/X86ISelLowering.cpp
lib/Transforms/IPO/MergeFunctions.cpp
lib/Transforms/Instrumentation/MemorySanitizer.cpp
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
test/Assembler/atomic.ll
test/Bitcode/cmpxchg-upgrade.ll
test/Bitcode/cmpxchg-upgrade.ll.bc
test/Bitcode/memInstructions.3.2.ll
test/CodeGen/AArch64/atomic-ops.ll
test/CodeGen/ARM/atomic-64bit.ll
test/CodeGen/ARM/atomic-cmp.ll
test/CodeGen/ARM/atomic-ops-v8.ll
test/CodeGen/Mips/atomic.ll
test/CodeGen/Mips/atomicops.ll
test/CodeGen/PowerPC/Atomics-32.ll
test/CodeGen/PowerPC/Atomics-64.ll
test/CodeGen/PowerPC/atomic-1.ll
test/CodeGen/PowerPC/atomic-2.ll
test/CodeGen/SPARC/atomics.ll
test/CodeGen/SystemZ/cmpxchg-01.ll
test/CodeGen/SystemZ/cmpxchg-02.ll
test/CodeGen/SystemZ/cmpxchg-03.ll
test/CodeGen/SystemZ/cmpxchg-04.ll
test/CodeGen/X86/2010-10-08-cmpxchg8b.ll
test/CodeGen/X86/Atomics-64.ll
test/CodeGen/X86/atomic16.ll
test/CodeGen/X86/atomic32.ll
test/CodeGen/X86/atomic64.ll
test/CodeGen/X86/atomic6432.ll
test/CodeGen/X86/atomic8.ll
test/CodeGen/X86/atomic_op.ll
test/CodeGen/X86/cmpxchg16b.ll
test/CodeGen/X86/coalescer-remat.ll
test/CodeGen/X86/nocx16.ll
test/Instrumentation/AddressSanitizer/test64.ll
test/Instrumentation/MemorySanitizer/atomics.ll
test/Instrumentation/ThreadSanitizer/atomic.ll
test/Transforms/LowerAtomic/atomic-swap.ll
test/Transforms/SimplifyCFG/trapping-load-unreachable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3023.1.patch
Type: text/x-patch
Size: 100599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140310/7360c053/attachment.bin>
More information about the llvm-commits
mailing list