Displaying 2 results from an estimated 2 matches for "initatom".
Did you mean:
initator
2013 Aug 23
1
[LLVMdev] Incredible effects of extending AtomicSDNode::Ops
...surprise, this isn't as trivial.
Even this innocuous change:
====================
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -1068,6 +1068,7 @@ public:
///
class AtomicSDNode : public MemSDNode {
SDUse Ops[4];
+ SDUse buffer;
void InitAtomic(AtomicOrdering Ordering, SynchronizationScope SynchScope) {
// This must match encodeMemSDNodeFlags() in SelectionDAG.cpp.
====================
-- makes LLVM fail 83 regression tests, basically everything related
to the atomic ops, in a bunch of unrelated ways: some segfaults, some
failing...
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...nst {
return AtomicOrdering((SubclassData >> 8) & 15);
}
+
SynchronizationScope getSynchScope() const {
return SynchronizationScope((SubclassData >> 12) & 1);
}
@@ -1089,15 +1092,28 @@ public:
class AtomicSDNode : public MemSDNode {
SDUse Ops[4];
- void InitAtomic(AtomicOrdering Ordering, SynchronizationScope SynchScope) {
+ /// For cmpxchg instructions, the ordering requirements when a store does not
+ /// occur.
+ AtomicOrdering FailureOrdering;
+
+
+ void InitAtomic(AtomicOrdering SuccessOrdering,
+ AtomicOrdering FailureOrdering,
+...