This is the implementation of OOPSLA'18 LLVM memory model.
You can clone corresponding Clang branches from https://github.com/snu-sf/clang-twin.
Branch name | Clang branch name | Description |
---|---|---|
base | base | Baseline (LLVM 6.0, official release) |
nointptrfold | base | (base +) No inttoptr(ptrtoint p)-> p fold |
correct | base | All known unsound optimizations disabled |
psub | psub | (correct +) Add 'psub' intrinsics |
optimized | psub | (psub +) Sound optimizations added (GVN, ..) |
i8canon | psub | (optimized +) Add i64->i8* canonicalization |
pass to support SLP vectorization |
This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.
LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
Please see the documentation provided in docs/ for further assistance with LLVM, and in particular docs/GettingStarted.rst for getting started with LLVM and docs/README.txt for an overview of LLVM's documentation setup.
If you are writing a package for LLVM, see docs/Packaging.rst for our suggestions.