Displaying 1 result from an estimated 1 matches for "languageref".
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
...ureOrdering,
used only by ATOMIC_CMP_SWAP nodes.
Existing bitcode files would obviously be supported, and retain
current semantics by BitcodeReader dropping the "release" part of any
single ordering, and using the result as the "failure ordering" (as
currently documented in the LanguageRef).
I have attached initial patches for reference, but I'm not asking for
thorough review at this stage.
What do people think?
Cheers.
Tim.
-------------- next part --------------
diff --git a/lib/CodeGen/CGAtomic.cpp b/lib/CodeGen/CGAtomic.cpp
index cb92f9a..96595df 100644
--- a/lib/CodeGen/...