- Jun 12, 2016
-
-
Simon Pilgrim authored
To account for the fast PSHUFB implementation now available llvm-svn: 272484
-
Tobias Grosser authored
The recent expression type changes still need more discussion, which will happen on phabricator or on the mailing list. The precise list of commits reverted are: - "Refactor division generation code" - "[NFC] Generate runtime checks after the SCoP" - "[FIX] Determine insertion point during SCEV expansion" - "Look through IntToPtr & PtrToInt instructions" - "Use minimal types for generated expressions" - "Temporarily promote values to i64 again" - "[NFC] Avoid unnecessary comparison for min/max expressions" - "[Polly] Fix -Wunused-variable warnings (NFC)" - "[NFC] Simplify min/max expression generation" - "Simplify the type adjustment in the IslExprBuilder" Some of them are just reverted as we would otherwise get conflicts. I will try to re-commit them if possible. llvm-svn: 272483
-
Xinliang David Li authored
This is one of the patches to clean up the code so that it is in a better form to make future enhancements easier. In htis patch, the logic to collect viable successors are extrated as a helper to unclutter the caller which gets very large recenty. Also cleaned up BP adjustment code. llvm-svn: 272482
-
Vassil Vassilev authored
Patch by Bertrand Bellenot! Reviewed by Chris Bieneman and me. llvm-svn: 272481
-
Faisal Vali authored
The bug report by Gonzalo (https://llvm.org/bugs/show_bug.cgi?id=27507 -- which results in clang crashing when generic lambdas that capture 'this' are instantiated in contexts where the Functionscopeinfo stack is not in a reliable state - yet getCurrentThisType expects it to be) - unearthed some additional bugs in regards to maintaining proper cv qualification through 'this' when performing by value captures of '*this'. This patch attempts to correct those bugs and makes the following changes: o) when capturing 'this', we do not need to remember the type of 'this' within the LambdaScopeInfo's Capture - it is never really used for a this capture - so remove it. o) teach getCurrentThisType to walk the stack of lambdas (even in scenarios where we run out of LambdaScopeInfo's such as when instantiating call operators) looking for by copy captures of '*this' and resetting the type of 'this' based on the constness of that capturing lambda's call operator. This patch has been baking in review-hell for > 6 weeks - all the comments so far have been addressed and the bug (that it addresses in passing, and I regret not submitting as a separate patch initially) has been reported twice independently, so is frequent and important for us not to just sit on. I merged the cv qualification-fix and the PR-fix initially in one patch, since they resulted from my initial implementation of star-this and so were related. If someone really feels strongly, I can put in the time to revert this - separate the two out - and recommit. I won't claim it's immunized against all bugs, but I feel confident enough about the fix to land it for now. llvm-svn: 272480
-
Vikram TV authored
Summary: Dominator updation fails for a loop inserted with a new basicblock. A block required by DT to set the IDom might not have been cloned yet. This is because there is no predefined ordering of loop blocks (except for the header block which should be the first block in the list). The patch first creates DT nodes for the cloned blocks and then separately updates the DT in a follow-on loop. Reviewers: anemet, dberlin Subscribers: dberlin, llvm-commits Differential Revision: http://reviews.llvm.org/D20899 llvm-svn: 272479
-
- Jun 11, 2016
-
-
George Rimar authored
Previously message told us that relocations could not be used when making shared object. That was correct because message could appear (and it is expected) when we linked executable. Message should have being changed to something that says we can't use a subset of relocations against shared symbols. Patch fixes the text. llvm-svn: 272478
-
Simon Pilgrim authored
PSHUFB can speed up BITREVERSE of byte vectors by performing LUT on the low/high nibbles separately and ORing the results. Wider integer vector types are already BSWAP'd beforehand so also make use of this approach. llvm-svn: 272477
-
Simon Pilgrim authored
llvm-svn: 272476
-
Davide Italiano authored
llvm-svn: 272475
-
Craig Topper authored
llvm-svn: 272474
-
Craig Topper authored
llvm-svn: 272473
-
Craig Topper authored
[X86] Remove GCC builtin name from some intrinsics that are no longer used by clang. A future commit can remove the intrinsics entirely. Some of these have been unused for a long time. llvm-svn: 272472
-
Simon Pilgrim authored
Ensure that PALIGNR/PSLLDQ/PSRLDQ are byte vectors so that they can be correctly decoded for target shuffle combining llvm-svn: 272471
-
Craig Topper authored
llvm-svn: 272470
-
Simon Pilgrim authored
llvm-svn: 272469
-
Simon Pilgrim authored
These are byte shift instructions and it will make shuffle combining a lot more straightforward if we can assume a vXi8 vector of bytes so decoded shuffle masks match the return type's number of elements llvm-svn: 272468
-
Craig Topper authored
[AVX512] Implement masked and 512-bit pshufd intrinsics directly with __builtin_shufflevector and __builtin_ia32_select. llvm-svn: 272467
-
Craig Topper authored
llvm-svn: 272466
-
Eric Liu authored
llvm-svn: 272465
-
Simon Pilgrim authored
Now matches other shuffles llvm-svn: 272464
-
Chandler Carruth authored
Hopefully this time it actually works and stays away. llvm-svn: 272463
-
Tobias Grosser authored
The 'Color' enum is only used for irreducible control flow detection. Johannes already moved this enum in r270054 from ScopDetection.h to ScopDetection.cpp to limit its scope to a single cpp file. We now move it into the only function where this enum is needed to make clear that it is only needed locally in this single function. Thanks to Johannes for pointing out this cleanup opportunity. llvm-svn: 272462
-
Chandler Carruth authored
This shouldn't have any functional difference, but it appears to be the pattern used for other methods on DynamicLibrary, and it should avoid the -Wpedantic warning on one of the build bots about the direct reinterpret_cast. llvm-svn: 272461
-
Chandler Carruth authored
base class methods. This was caught by GCC's -Woverloaded-virtual, not sure why it wasn't caught by Clang's. =/ llvm-svn: 272460
-
Chandler Carruth authored
llvm-svn: 272459
-
Chandler Carruth authored
llvm-svn: 272458
-
NAKAMURA Takumi authored
DebugInfoPDBTests:MappedBlockStreamTest.TestWriteThenRead: Avoid assigning temporary object to ArrayRef. llvm-svn: 272457
-
Chandler Carruth authored
basic block. llvm-svn: 272456
-
Lang Hames authored
MCJIT will now set the DataLayout on a module when it is added to the JIT, rather than waiting until it is codegen'd, and the runFunction method will finalize the module containing the function to be run before running it. The fibonacci example has been updated to include and link against MCJIT. llvm-svn: 272455
-
Chandler Carruth authored
This reverts commit r272413. The tests here have been failing on several different build bots for over 10 hours. llvm-svn: 272454
-
Chandler Carruth authored
This reverts commit r272386. It doesn't compile with MSVC and those bots have been red the entire day as a consequence. llvm-svn: 272453
-
Craig Topper authored
[AVX512] Implement 512-bit and masked shufflelo and shufflehi intrinsics directly with __builtin_shufflevector and __builtin_ia32_select. Also improve the formatting of the AVX2 version. llvm-svn: 272452
-
Craig Topper authored
llvm-svn: 272451
-
Craig Topper authored
[AVX512] Add support for lowering v32i16 shuffles with repeated lanes. This allows us to create 512-bit PSHUFLW/PSHUFHW. llvm-svn: 272450
-
Craig Topper authored
[AVX512] No need to check for BWI being enabled before lowering v32i16 and v64i8 shuffles. If we get this far the types are already legal which means BWI must be enabled. llvm-svn: 272449
-
Mike Spertus authored
Visualizers for DeclAccessPair, UnresolvedSet, and LookupResult. For example, when combined with LLVM diff D21256 (currently in review), a Lookup set will show much more naturally in the Locals window something like Found: {public typename ...Ts} llvm-svn: 272448 -
David Majnemer authored
We shouldn't return true from CheckSpecifiedExceptionType if the record type is incomplete and -fms-extensions is engaged. Otherwise we will have an incomplete AST. llvm-svn: 272447
-
Matthias Braun authored
undef uses are no real uses of a register and must be ignored by findLastUseBefore() so that handleMove() does not produce invalid live intervals in some cases. This fixed http://llvm.org/PR28083 llvm-svn: 272446
-
Greg Clayton authored
<rdar://problem/25501013> llvm-svn: 272445
-