summaryrefslogtreecommitdiff
path: root/lang/clang
AgeCommit message (Collapse)AuthorFilesLines
2011-12-02LLVM 3.0 includes several major changes and big features:adam5-115/+145
* llvm-gcc is no longer supported, and not included in the release. We recommend switching to Clang or DragonEgg. * The linear scan register allocator has been replaced with a new "greedy" register allocator, enabling live range splitting and many other optimizations that lead to better code quality. Please see its blog post or its talk at the Developer Meeting for more information. * LLVM IR now includes full support for atomics memory operations intended to support the C++'11 and C'1x memory models. This includes atomic load and store, compare and exchange, and read/modify/write instructions as well as a full set of memory ordering constraints. Please see the Atomics Guide for more information. * The LLVM IR exception handling representation has been redesigned and reimplemented, making it more elegant, fixing a huge number of bugs, and enabling inlining and other optimizations. Please see its blog post and the Exception Handling documentation for more information. * The LLVM IR Type system has been redesigned and reimplemented, making it faster and solving some long-standing problems. Please see its blog post for more information. * The MIPS backend has made major leaps in this release, going from an experimental target to being virtually production quality and supporting a wide variety of MIPS subtargets. See the MIPS section below for more information. * The optimizer and code generator now supports gprof and gcov-style coverage and profiling information, and includes a new llvm-cov tool (but also works with gcov). Clang exposes coverage and profiling through GCC-compatible command line options.
2011-05-07Fix LLVM bug 8765 (longjmp issue on NetBSD); patches courtesy of joerg.adam4-2/+55
2011-04-07LLVM 2.9 includes several major new capabilities:adam5-194/+198
* Type Based Alias Analysis (TBAA) is now implemented and turned on by default in Clang. This allows substantially better load/store optimization in some cases. TBAA can be disabled by passing -fno-strict-aliasing. * This release has seen a continued focus on quality of debug information. LLVM now generates much higher fidelity debug information, particularly when debugging optimized code. * Inline assembly now supports multiple alternative constraints. * A new backend for the NVIDIA PTX virtual ISA (used to target its GPUs) is under rapid development. It is not generally useful in 2.9, but is making rapid progress.
2010-10-26Fix building when OCaml is installedadam1-2/+3
2010-10-25LLVM distfile has been changed on master-site.adam2-11/+13
The difference is in configure and configure.ac scripts: "rc" has been removed from version strings.
2010-10-21Changes 2.8:adam8-148/+272
* libc++ and LLDB are major new additions to the LLVM collective. * LLVM 2.8 now has pretty decent support for debugging optimized code. You should be able to reliably get debug info for function arguments, assuming that the value is actually available where you have stopped. * A new 'llvm-diff' tool is available that does a semantic diff of .ll files. * The MC subproject has made major progress in this release. Direct .o file writing support for darwin/x86[-64] is now reliable and support for other targets and object file formats are in progress. * The memcpy, memmove, and memset intrinsics now take address space qualified pointers and a bit to indicate whether the transfer is "volatile" or not. * Per-instruction debug info metadata is much faster and uses less memory by using the new DebugLoc class. * LLVM IR now has a more formalized concept of "trap values", which allow the optimizer to optimize more aggressively in the presence of undefined behavior, while still producing predictable results. * LLVM IR now supports two new linkage types (linker_private_weak and linker_private_weak_def_auto) which map onto some obscure MachO concepts. * The optimizer now has support for updating debug information as it goes. A key aspect of this is the new llvm.dbg.value intrinsic. This intrinsic represents debug info for variables that are promoted to SSA values (typically by mem2reg or the -scalarrepl passes). * The JumpThreading pass is now much more aggressive about implied value relations, allowing it to thread conditions like "a == 4" when a is known to be 13 in one of the predecessors of a block. It does this in conjunction with the new LazyValueInfo analysis pass. * The new RegionInfo analysis pass identifies single-entry single-exit regions in the CFG. You can play with it with the "opt -regions analyze" or "opt -view-regions" commands. * The loop optimizer has significantly improved strength reduction and analysis capabilities. Notably it is able to build on the trap value and signed integer overflow information to optimize <= and >= loops. * The CallGraphSCCPassManager now has some basic support for iterating within an SCC when a optimizer devirtualizes a function call. This allows inlining through indirect call sites that are devirtualized by store-load forwarding and other optimizations. * The new -loweratomic pass is available to lower atomic instructions into their non-atomic form. This can be useful to optimize generic code that expects to run in a single-threaded environment.
2010-05-04Add C++ include path for NetBSD's /usr/include/g++, addressesdrochner3-2/+18
PR pkg/43237 by NAKAJIMA Yoshihiro. This isn't too useful yet due to an incompatibility (apparently a bug in gcc-4.1) which will be fixed soon. bump PKGREVISION
2010-04-27update to 2.7drochner7-130/+405
many fixes and improvements, eg C++ support see the release notes for details
2010-02-13Add a bl3.mk so wip/libcpu can include llvm headers.tnn1-0/+13
2009-11-25Make 'clang -pthread' work on recent DragonFly versions. The patch fromhasso3-3/+17
upstream svn trunk. Bump PKGREVISION.
2009-11-17It needs "libexec". Bump revision.asau1-2/+3
2009-11-16add clang-2.6, a C compiler based om LLVM, based on Adam Hoka's llvmdrochner7-0/+761
pkg in pkgsrc-wip (This installs all the LLVM bits too, so it conflicts with a pure llvm pkg, but it is not easily separated.)