- Nov 18, 2014
-
-
Justin Bogner authored
- Make CallGraphSCCPass's paragraph about doFinalization refer to runOnSCC instead of runOnFunction, since that's what it's about. - Fix a reference in the FunctionPass paragraph. llvm-svn: 222222
-
- Nov 14, 2014
-
-
Tom Stellard authored
This was done using the Sparc and PowerPC AsmParsers as guides. So far it is very simple and only supports sopp instructions. llvm-svn: 221994
-
- Nov 10, 2014
-
-
Rafael Espindola authored
Patch by Palmer Dabbelt! llvm-svn: 221638
-
- Nov 06, 2014
-
-
Lang Hames authored
The old examples had missing/incorrect flags that were causing failures on newer versions of clang and the tutorial code. llvm-svn: 221419
-
- Nov 05, 2014
-
-
Sean Silva authored
llvm-svn: 221406
-
- Nov 04, 2014
-
-
Tim Northover authored
Patch by Steve King. llvm-svn: 221227
-
- Nov 02, 2014
-
-
Tim Northover authored
The given example was overflowing its alloca and segfaulting if actually run on x86, so it's a good idea to provide something that works there too. Patch by Ramkumar Ramachandra. llvm-svn: 221077
-
- Oct 29, 2014
-
-
Seo Sanghyeon authored
llvm-svn: 220838
-
- Oct 28, 2014
-
-
Peter Zotov authored
When several build targets, e.g. Debug+Asserts and Release+Asserts are present, ocamldoc complains of duplicate interfaces. llvm-svn: 220831
-
- Oct 24, 2014
-
-
Juergen Ributzka authored
llvm.donothing is no longer the only intrinsic that can be invoked. llvm-svn: 220530
-
- Oct 22, 2014
-
-
Matt Arsenault authored
llvm-svn: 220402
-
Matt Arsenault authored
llvm-svn: 220352
-
Matt Arsenault authored
These are named following the IEEE-754 names for these functions, rather than the libm fmin / fmax to avoid possible ambiguities. Some languages may implement something resembling fmin / fmax which return NaN if either operand is to propagate errors. These implement the IEEE-754 semantics of returning the other operand if either is a NaN representing missing data. llvm-svn: 220341
-
- Oct 21, 2014
-
-
Philip Reames authored
The newly introduced 'nonnull' metadata is analogous to existing 'nonnull' attributes, but applies to load instructions rather than call arguments or returns. Long term, it would be nice to combine these into a single construct. The value of the load is allowed to vary between successive loads, but null is not a valid value to be loaded by any load marked nonnull. Reviewed by: Hal Finkel Differential Revision: http://reviews.llvm.org/D5220 llvm-svn: 220240
-
- Oct 17, 2014
-
-
Alexander Potapenko authored
llvm-symbolizer will consult one of the .dSYM paths passed via -dsym-hint if it fails to find the .dSYM bundle at the default location. llvm-svn: 220004
-
- Oct 16, 2014
-
-
Rafael Espindola authored
These days -std-compile-opts was just a silly alias for -O3. llvm-svn: 219951
-
Jon Roelofs authored
llvm-svn: 219947
-
- Oct 14, 2014
-
-
Peter Collingbourne authored
Rather than define our own standards, we adopt a set of best practices that are already in use by the Go community. Differential Revision: http://reviews.llvm.org/D5761 llvm-svn: 219646
-
- Oct 13, 2014
-
-
Paul Robinson authored
match the current implementation. Patch by Douglas Yung! llvm-svn: 219631
-
- Oct 08, 2014
-
-
Frederic Riss authored
Summary: We currently emit an DW_AT_APPLE_property_attribute with a value that is a bitfield describing the various attributes applied to an ObjectiveC property. While trying to add testing to one of my dwarfdump patches that would pretty print that, I realized this information looks totally broken and has maybe never been correct. As with every DWARF info, we have some enum in Dwarf.h that describes this attribute (enum ApplePropertyAttributes). It seems however that the attribute value is set from another definition of these flags in Sema/DeclSpec.h (enum ObjCPropertyAttributeKind). And these 2 enums aren't in sync. This patch updates the Dwarf.h values to the ones we are (and have been for a very long time) emitting. We change some publicly (and even documented in SourceLevelDebugging.rst) values, but I doubt this could be an issue as the information has been wrong for so long... Reviewers: echristo, dblaikie, aprantl Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5653 llvm-svn: 219311
-
- Oct 06, 2014
-
-
Matt Arsenault authored
llvm-svn: 219134
-
- Oct 04, 2014
-
-
Duncan P. N. Exon Smith authored
llvm-svn: 219056
-
Duncan P. N. Exon Smith authored
llvm-svn: 219055
-
Duncan P. N. Exon Smith authored
llvm-svn: 219054
-
Duncan P. N. Exon Smith authored
llvm-svn: 219053
-
Duncan P. N. Exon Smith authored
Update a couple of the examples of debug info metadata, and prune the rest. Point to the true reference implementation in the source. llvm-svn: 219051
-
- Oct 03, 2014
-
-
Jon Roelofs authored
llvm-svn: 219018
-
Adrian Prantl authored
llvm-svn: 219015
-
Duncan P. N. Exon Smith authored
This reverts commit r218918, effectively reapplying r218914 after fixing an Ocaml bindings test and an Asan crash. The root cause of the latter was a tightened-up check in `DILexicalBlock::Verify()`, so I'll file a PR to investigate who requires the loose check (and why). Original commit message follows. -- This patch addresses the first stage of PR17891 by folding constant arguments together into a single MDString. Integers are stringified and a `\0` character is used as a separator. Part of PR17891. Note: I've attached my testcases upgrade scripts to the PR. If I've just broken your out-of-tree testcases, they might help. llvm-svn: 219010
-
Dan Liew authored
llvm-svn: 218982
-
Robin Morisset authored
Summary: I changed various bits of the compilation of atomics recently, and forgot updating the documentation. This patch just brings it up to date. Test Plan: no change to the code Reviewers: jfb Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5590 llvm-svn: 218937
-
Duncan P. N. Exon Smith authored
This reverts commit r218914 while I investigate some bots. llvm-svn: 218918
-
- Oct 02, 2014
-
-
Duncan P. N. Exon Smith authored
This patch addresses the first stage of PR17891 by folding constant arguments together into a single MDString. Integers are stringified and a `\0` character is used as a separator. Part of PR17891. Note: I've attached my testcases upgrade scripts to the PR. If I've just broken your out-of-tree testcases, they might help. llvm-svn: 218914
-
- Oct 01, 2014
-
-
Adrian Prantl authored
argument of the llvm.dbg.declare/llvm.dbg.value intrinsics. Previously, DIVariable was a variable-length field that has an optional reference to a Metadata array consisting of a variable number of complex address expressions. In the case of OpPiece expressions this is wasting a lot of storage in IR, because when an aggregate type is, e.g., SROA'd into all of its n individual members, the IR will contain n copies of the DIVariable, all alike, only differing in the complex address reference at the end. By making the complex address into an extra argument of the dbg.value/dbg.declare intrinsics, all of the pieces can reference the same variable and the complex address expressions can be uniqued across the CU, too. Down the road, this will allow us to move other flags, such as "indirection" out of the DIVariable, too. The new intrinsics look like this: declare void @llvm.dbg.declare(metadata %storage, metadata %var, metadata %expr) declare void @llvm.dbg.value(metadata %storage, i64 %offset, metadata %var, metadata %expr) This patch adds a new LLVM-local tag to DIExpressions, so we can detect and pretty-print DIExpression metadata nodes. What this patch doesn't do: This patch does not touch the "Indirect" field in DIVariable; but moving that into the expression would be a natural next step. http://reviews.llvm.org/D4919 rdar://problem/17994491 Thanks to dblaikie and dexonsmith for reviewing this patch! Note: I accidentally committed a bogus older version of this patch previously. llvm-svn: 218787
-
Adrian Prantl authored
"Move the complex address expression out of DIVariable and into an extra" llvm-svn: 218782
-
Adrian Prantl authored
argument of the llvm.dbg.declare/llvm.dbg.value intrinsics. Previously, DIVariable was a variable-length field that has an optional reference to a Metadata array consisting of a variable number of complex address expressions. In the case of OpPiece expressions this is wasting a lot of storage in IR, because when an aggregate type is, e.g., SROA'd into all of its n individual members, the IR will contain n copies of the DIVariable, all alike, only differing in the complex address reference at the end. By making the complex address into an extra argument of the dbg.value/dbg.declare intrinsics, all of the pieces can reference the same variable and the complex address expressions can be uniqued across the CU, too. Down the road, this will allow us to move other flags, such as "indirection" out of the DIVariable, too. The new intrinsics look like this: declare void @llvm.dbg.declare(metadata %storage, metadata %var, metadata %expr) declare void @llvm.dbg.value(metadata %storage, i64 %offset, metadata %var, metadata %expr) This patch adds a new LLVM-local tag to DIExpressions, so we can detect and pretty-print DIExpression metadata nodes. What this patch doesn't do: This patch does not touch the "Indirect" field in DIVariable; but moving that into the expression would be a natural next step. http://reviews.llvm.org/D4919 rdar://problem/17994491 Thanks to dblaikie and dexonsmith for reviewing this patch! llvm-svn: 218778
-
- Sep 26, 2014
-
-
Jyoti Allur authored
llvm-svn: 218504
-
- Sep 25, 2014
-
-
Sylvestre Ledru authored
llvm-svn: 218448
-
Sylvestre Ledru authored
llvm-svn: 218447
-
- Sep 23, 2014
-
-
Jingyue Wu authored
llvm-svn: 218319
-