- Jan 08, 2019
-
-
Adrian Prantl authored
llvm-svn: 350559
-
Alina Sbirlea authored
Summary: Refactor caching walker to make creating a walker that skips the starting access strightforward. Reviewers: george.burgess.iv Subscribers: sanjoy, jlebar, Prazek, llvm-commits, jfb Differential Revision: https://reviews.llvm.org/D55957 llvm-svn: 350558
-
Adrian Prantl authored
llvm-svn: 350557
-
Julian Lettner authored
Summary: Objective-C employs tagged pointers, that is, small objects/values may be encoded directly in the pointer bits. The resulting pointer is not backed by an allocation/does not point to a valid memory. TSan infrastructure requires a valid address for `Acquire/Release` and `Mutex{Lock/Unlock}`. This patch establishes such a mapping via a "dummy allocation" for each encountered tagged pointer value. Reviewers: dcoughlin, kubamracek, dvyukov, delcypher Reviewed By: dvyukov Subscribers: llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D56238 llvm-svn: 350556 -
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D56365 llvm-svn: 350555
-
Craig Topper authored
[X86] Remove AVX512VBMI2 concat and shift intrinsics. Replace with target independent funnel shift intrinsics. Differential Revision: https://reviews.llvm.org/D56377 llvm-svn: 350554
-
Diogo N. Sampaio authored
This patch adds the sign/zero extension done by vgetlane to ARM computeKnownBitsForTargetNode. Differential revision: https://reviews.llvm.org/D56098 llvm-svn: 350553
-
Alina Sbirlea authored
Summary: The option enables loop transformations to hoist accesses that do not have clobbers in the loop. If the clobber queries skips the starting access, the result may be outside the loop instead of the header Phi. Adding the walker that uses this option in a separate patch. Reviewers: george.burgess.iv Subscribers: sanjoy, jlebar, Prazek, llvm-commits Differential Revision: https://reviews.llvm.org/D55944 llvm-svn: 350551
-
Eric Fiselier authored
llvm-svn: 350550
-
Nikita Popov authored
This reverts commit r350547. Seeing assertion failures on clang tests. llvm-svn: 350549
-
Simon Pilgrim authored
Based off work for D55935 llvm-svn: 350548
-
Nikita Popov authored
DemandedBits currently uses a simple vector for the worklist, which means that instructions may be inserted multiple times into it. Especially in combination with the deep lattice, this may cause instructions too be recomputed very often. To avoid this, switch to a SetVector. Differential Revision: https://reviews.llvm.org/D56362 llvm-svn: 350547
-
Leonard Mosescu authored
If the minidump contains a saved exception record use it automatically. Differential Revision: https://reviews.llvm.org/D56293 llvm-svn: 350546
-
Armando Montanez authored
Although llvm-elfabi will attempt to read input files without needing the format to be manually specified, doing so has the potential to introduce extraneous errors that can hinder debugging (since multiple readers may fail in attempts to read the file). This change allows the input file format to be manually specified to force elfabi to use a single reader. This makes it easier to test and debug errors specific to a given reader. llvm-svn: 350545
-
Louis Dionne authored
Summary: Recent Clangs give an error for this. Note that the size of this diff is caused by running clang-format on the result of removing the captures. I guess we'll see how well that works for us. Reviewers: jfb, rodgert Subscribers: jkorous, dexonsmith, libcxx-commits, mclow.lists Differential Revision: https://reviews.llvm.org/D55945 llvm-svn: 350544
-
Adrian Prantl authored
llvm-svn: 350543
-
Ilya Biryukov authored
llvm-svn: 350542
-
Jordan Rupprecht authored
Summary: The -O flag is currently being mostly ignored; it's only checked whether or not the output format is "binary". This adds support for a few formats (e.g. elf64-x86-64), so that when specified, the output can change between 32/64 bit and sizes/alignments are updated accordingly. This fixes PR39135 Reviewers: jakehehrlich, jhenderson, alexshap, espindola Reviewed By: jhenderson Subscribers: emaste, arichardson, llvm-commits Differential Revision: https://reviews.llvm.org/D53667 llvm-svn: 350541
-
Ilya Biryukov authored
This fixes the only clang-tidy check currently enabled by clangd. llvm-svn: 350540
-
Louis Dionne authored
Reviewed as https://reviews.llvm.org/D56051. llvm-svn: 350539
-
Stefan Granitz authored
Summary: In standalone builds of LLDB we currently have no target `count` that tests can depend on. This may be fixed in the future by exporting the target from LLVM similar to targets llvm-config, dsymutil and others. In-tree build with this patch: ``` $ ninja -t query tools/lldb/lit/check-lldb-lit tools/lldb/lit/check-lldb-lit: input: phony tools/lldb/lit/CMakeFiles/check-lldb-lit bin/FileCheck bin/clang bin/count bin/darwin-debug bin/debugserver bin/dsymutil bin/llc bin/lldb bin/lldb-mi bin/lldb-server bin/lldb-test bin/llvm-config bin/llvm-mc bin/llvm-objcopy bin/not bin/yaml2obj lib/liblldb.dylib projects/libcxx/lib/cxx tools/lldb/unittests/LLDBUnitTests outputs: tools/lldb/test/check-lldb check-lldb-lit ``` Standalone build with this patch: ``` $ ninja -t query lit/check-lldb-lit lit/check-lldb-lit: input: phony lit/CMakeFiles/check-lldb-lit bin/darwin-debug bin/debugserver bin/lldb bin/lldb-mi bin/lldb-server bin/lldb-test lib/liblldb.dylib unittests/LLDBUnitTests outputs: test/check-lldb check-lldb-lit ``` Reviewers: davide, aprantl, JDevlieghere, alexshap Reviewed By: davide Subscribers: mgorny, lldb-commits, #lldb Differential Revision: https://reviews.llvm.org/D56389 llvm-svn: 350538 -
Adrian Prantl authored
llvm-svn: 350537
-
David Greene authored
If a user has PYTHONPATH set in the environment, append new entries to it rather than blindly setting PYTHONPATH to a fixed string. This allows tests to, for example, find psutil if it is in PYTHONPATH. Without this change, lit will detect psutil but then various tests will fail because PYTHONPATH has been overwritten and psutil cannot be found. llvm-svn: 350536
-
Marshall Clow authored
Add the feature test macros that were defined in p1353r0 to the headers of the appropriate tests. No actual tests yet, so NFC. llvm-svn: 350535
-
Matt Morehouse authored
Summary: Use first byte of input to determine whether to call itaniumDemangle() or microsoftDemangle(). Addresses https://bugs.llvm.org/show_bug.cgi?id=39582. Reviewers: kcc, thakis Reviewed By: kcc, thakis Subscribers: mgorny, thakis, erik.pilkington, llvm-commits Differential Revision: https://reviews.llvm.org/D54780 llvm-svn: 350534
-
Sanjay Patel authored
These tests show missed optimizations and a miscompile similar to PR40243 - https://bugs.llvm.org/show_bug.cgi?id=40243 llvm-svn: 350533
-
- Jan 07, 2019
-
-
Rhys Perry authored
Summary: If a divergent branch instruction is marked as divergent by propagation rule 2 in DivergencePropagator::exploreSyncDependency() and its condition is uniform, that branch would incorrectly be assumed to be uniform. Reviewers: arsenm, tstellar Reviewed By: arsenm Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D56331 llvm-svn: 350532
-
Ilya Biryukov authored
The new guideline is to qualify with 'llvm::' explicitly both in '.h' and '.cpp' files. This simplifies moving the code between header and source files and is easier to keep consistent. llvm-svn: 350531
-
Alexey Bataev authored
After the fix for the syncthreads we don't need to generate extra barriers for the parallel reductions. llvm-svn: 350530
-
Benjamin Kramer authored
llvm-svn: 350529
-
Rafael Stahl authored
Summary: The LocationE parameter of evalStore is documented as "The location expression that is stored to". When storing from an increment / decrement operator this was not satisfied. In user code this causes an inconsistency between the SVal and Stmt parameters of checkLocation. Reviewers: NoQ, dcoughlin, george.karpenkov Reviewed By: NoQ Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, cfe-commits Differential Revision: https://reviews.llvm.org/D55701 llvm-svn: 350528
-
Bruno Ricci authored
Store the optional array size expression, optional initialization expression and optional placement new arguments in a trailing array. Additionally store the range for the parenthesized type-id in a trailing object if needed since in the vast majority of cases the type is not parenthesized (not a single new expression in the translation unit of SemaDecl.cpp has a parenthesized type-id). This saves 2 pointers per CXXNewExpr in all cases, and 2 pointers + 8 bytes per CXXNewExpr in the common case where the type is not parenthesized. Differential Revision: https://reviews.llvm.org/D56134 Reviewed By: rjmccall llvm-svn: 350527
-
Hyrum Wright authored
llvm-svn: 350526
-
Bruno Ricci authored
Use the newly available space in the bit-fields of Stmt. This saves 1 pointer per DependentScopeDeclRefExpr/CXXUnresolvedConstructExpr. Additionally rename "TypeSourceInfo *Type;" to "TypeSourceInfo *TSI;" as was done in D56022 (r350003) (but this is an internal detail anyway), and clang-format both classes. NFC. llvm-svn: 350525
-
Alexey Bataev authored
Summary: Previous implementation may cause the runtime crash when the number of teams is > 1024. Patch fixes this problem + reduces number of the atomic operations by 32 times. Reviewers: grokos, gtbercea, kkwli0 Subscribers: guansong, jfb, openmp-commits, caomhin Differential Revision: https://reviews.llvm.org/D56332 llvm-svn: 350524
-
Hyrum Wright authored
Summary: Much like hasArg for various call expressions, this allows LibTooling users to match against a member of an initializer list. This is currently being used as part of the abseil-duration-scale clang-tidy check. Differential Revision: https://reviews.llvm.org/D56090 llvm-svn: 350523
-
James Henderson authored
GNU nm supports this alias, so supporting it in llvm-nm makes it easier to transition between the two. Fixes https://bugs.llvm.org/show_bug.cgi?id=40002 Reviewed by: mstorsjo, rupprecht Differential Revision: https://reviews.llvm.org/D56312 llvm-svn: 350522
-
Gabor Marton authored
Summary: In loadExternalAST we return with either an error or with a valid ASTUnit pointer which should not be a nullptr. This prevents in the call site any superfluous check for being a nullptr. Reviewers: xazax.hun, a_sidorin, Szelethus, balazske Subscribers: rnkovacs, dkrupp, gamesh411, cfe-commits Differential Revision: https://reviews.llvm.org/D55280 llvm-svn: 350521
-
Alexandre Ganea authored
llvm-svn: 350520
-
Bruno Ricci authored
Use the newly available space in the bit-fields of Stmt. This saves 1 pointer per OpaqueValueExpr. NFC. llvm-svn: 350519
-