1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib
Chandler Carruth 9773c3dd6d Remove all of the legacy home-grown atomic operations LLVM provided
except for CompareAndSwap. That is the only one still being used
anywhere now that statistics have been moved onto std::atomic.

Also, add a warning to the header that we shouldn't introduce more uses
of these old style atomics and instead should be using C++11's
std::atomic facilities.

Really hoping that we can hammer out the last couple of users here and
replace them with something more localized and/or principled, but
figured this was a pretty good start. =]

Note that this patch will need to be reverted if r271504 needs to be
reverted as that removes the last user of these. However, the biggest
risk for that patch was MSVC 2013 and at least one bot has already
passed where it would have failed there. I've tested MSVC 2015 using
their web interfaces and other platforms seem fine, so I'm optimistic.

Differential Revision: http://reviews.llvm.org/D20901

llvm-svn: 271540
2016-06-02 17:11:11 +00:00
..
Analysis Inline isDereferenceableFromAttribute; NFC 2016-06-02 00:52:53 +00:00
AsmParser IR: Allow multiple global metadata attachments with the same type. 2016-06-01 01:17:57 +00:00
Bitcode IR: Allow multiple global metadata attachments with the same type. 2016-06-01 01:17:57 +00:00
CodeGen [PEI, AArch64] Use empty spaces in stack area for local stack slot allocation. 2016-06-02 16:22:07 +00:00
DebugInfo [pdb] Parse and dump section map and section contribs 2016-06-02 05:07:49 +00:00
ExecutionEngine [Orc] Add conversion to/from RuntimeDyld::SymbolInfo for JITSymbol. 2016-05-31 23:14:26 +00:00
Fuzzer [LibFuzzer] Disable compiling and running the LibFuzzer dataflow sanitizer tests on Apple platforms. 2016-06-02 05:48:09 +00:00
IR [X86][SSE] Replace (V)CVTTPS2DQ and VCVTTPD2DQ truncating (round to zero) f32/f64 to i32 with generic IR (llvm) 2016-06-02 10:55:21 +00:00
IRReader
LibDriver
LineEditor
Linker Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
LTO
MC [MC] Rename EmitFill to emitFill 2016-06-01 01:59:58 +00:00
Object [COFF] Expose the PE debug data directory and dump it 2016-06-02 17:10:43 +00:00
ObjectYAML [COFF] Expose the PE debug data directory and dump it 2016-06-02 17:10:43 +00:00
Option
Passes [MemorySSA] Port to new pass manager 2016-06-01 21:30:40 +00:00
ProfileData Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
Support Remove all of the legacy home-grown atomic operations LLVM provided 2016-06-02 17:11:11 +00:00
TableGen
Target [PEI, AArch64] Use empty spaces in stack area for local stack slot allocation. 2016-06-02 16:22:07 +00:00
Transforms [profile] value profiling bug fix -- missing icall targets in profile-use 2016-06-02 16:33:41 +00:00
CMakeLists.txt
LLVMBuild.txt