- Jul 31, 2016
-
-
Chandler Carruth authored
are very handy when parsing text. They are essentially a combination of startswith and a self-modifying drop_front, or endswith and drop_back respectively. Differential Revision: https://reviews.llvm.org/D22723 llvm-svn: 277288
-
Faisal Vali authored
This makes it easier to add C++1z examples to the bottom, just before the #endif. llvm-svn: 277287
-
Hubert Tong authored
llvm-svn: 277286
-
Davide Italiano authored
llvm-svn: 277285
-
Davide Italiano authored
llvm-svn: 277284
-
Davide Italiano authored
llvm-svn: 277283
-
Lang Hames authored
llvm-svn: 277282
-
Simon Pilgrim authored
Dropped useless 2i32-2f32 test llvm-svn: 277281
-
Simon Pilgrim authored
llvm-svn: 277280
-
Simon Pilgrim authored
llvm-svn: 277279
-
Simon Pilgrim authored
llvm-svn: 277278
-
Aaron Ballman authored
llvm-svn: 277277
-
Xinliang David Li authored
The end-end test checks that cs-profile counter update is obtained as expected. llvm-svn: 277276
-
Simon Pilgrim authored
llvm-svn: 277275
-
Simon Pilgrim authored
These are good examples of missed combine opportunities with zero/all bit vector compare results llvm-svn: 277274
-
Devin Coughlin authored
Add new APIs that require localized strings and remove two APIs that were incorrectly marked as requiring a user-facing string. A patch by Kulpreet Chilana! Differential Revision: https://reviews.llvm.org/D22926 llvm-svn: 277273
-
Simon Pilgrim authored
To make sure the X86_64 target isn't doing anything stupid llvm-svn: 277272
-
- Jul 30, 2016
-
-
Simon Pilgrim authored
The 2i32-2i64 legalization means that we can use the slightly quicker double bits + fptrunc approach for the same results llvm-svn: 277271
-
Hubert Tong authored
Summary: This change fixes issues with `LLVM_CONSTEXPR` functions and `TrailingObjects::FixedSizeStorage`. In particular, some of the functions marked `LLVM_CONSTEXPR` used by `FixedSizeStorage` were not implemented such that they evaluate successfully as part of a constant expression despite constant arguments. This change also implements a more traditional template-meta path to accommodate MSVC, and adds unit tests for `FixedSizeStorage`. Drive-by fix: the access control for members of `TrailingObjectsImpl` is tightened. Reviewers: faisalv, rsmith, aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D22668 llvm-svn: 277270
-
Hubert Tong authored
Summary: This change adds `LLVM_CONSTEXPR` to functions selected as follows: - the body is already valid under C++11 for a `constexpr` function, - the evaluation of the function, given constant arguments, will not fail during the evaluation of a constant expression, and - the above properties are easily verifiable at a glance. Note: the evaluation of the function cannot fail if the instantiation triggers a static assertion failure. Reviewers: faisalv, rsmith, aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D22824 llvm-svn: 277269
-
Benjamin Kramer authored
Found by ubsan. llvm-svn: 277268
-
Benjamin Kramer authored
llvm-svn: 277267
-
Benjamin Kramer authored
Found by asan -fsanitize-address-use-after-scope. llvm-svn: 277266
-
Benjamin Kramer authored
Found by asan -fsanitize-address-use-after-scope. llvm-svn: 277265
-
Roman Gareev authored
llvm-svn: 277264
-
Roman Gareev authored
Extend the jscop interface to allow the user to declare new arrays and to reference these arrays from access expressions Extend the jscop interface to allow the user to export arrays. It is required that already existing arrays of the list of arrays correspond to arrays of the SCoP. Each array that is appended to the list will be newly created. Furthermore, we allow the user to modify access expressions to reference any array in case it has the same element type. Reviewed-by:
Tobias Grosser <tobias@grosser.es> Differential Revision: https://reviews.llvm.org/D22828 llvm-svn: 277263
-
Jonathan Coe authored
Summary: Check for classes that violate the rule of five and zero as specified in CppCoreGuidelines: "If a class defines or deletes a default operation then it should define or delete them all." https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c21-if-you-define-or-delete-any-default-operation-define-or-delete-them-all. Reviewers: alexfh, sbenza, aaron.ballman Subscribers: Prazek, Eugene.Zelenko, cfe-commits, ericLemanissier, nemanjai Projects: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D22513 llvm-svn: 277262
-
Argyrios Kyrtzidis authored
llvm-svn: 277261
-
Matt Arsenault authored
This should really be true for any immediate, not just inline ones. llvm-svn: 277260
-
Matt Arsenault authored
llvm-svn: 277259
-
Matt Arsenault authored
llvm-svn: 277258
-
Lang Hames authored
This makes it possible to implement re-optimization on top of the CompileOnDemandLayer. Test case to come in a future patch: This will need an execution test, and execution tests require a full working stack. The best option is to plumb this API up to the C Bindings stack and add a C bindings test for this. Patch by Sean Ogden. Thanks Sean! llvm-svn: 277257
-
Hans Wennborg authored
It seems the compiler was getting confused by the in-class initializers in local struct MapInfo, so moving those to a default constructor instead. llvm-svn: 277256
-
Rui Ueyama authored
llvm-svn: 277255
-
Hans Wennborg authored
the renaming from 'Msf' to 'MSF' in r277213. llvm-svn: 277254
-
Rui Ueyama authored
llvm-svn: 277253
-
Weiming Zhao authored
Summary: When performing cmp for EQ/NE and the operand is sign extended, we can avoid the truncaton if the bits to be tested are no less than origianl bits. Reviewers: eli.friedman Subscribers: eli.friedman, aemerson, nemanjai, t.p.northover, llvm-commits Differential Revision: https://reviews.llvm.org/D22933 llvm-svn: 277252
-
Lang Hames authored
This should fix UB warnings from the sanitizer bots: LLD performs bit manipulations on enums of this type, and these are UB if the underlying storage type isn't specified. llvm-svn: 277251
-
Chris Bieneman authored
Logging the dtrace command into the top of the dtrace log is useful when debugging why the order file generation is flaky. llvm-svn: 277234
-
Tim Northover authored
Easiest instruction ever! llvm-svn: 277225
-