- Jun 21, 2020
-
-
Bruno Ricci authored
Remove the space after the "CHECK:" on each line. This space makes the use of FileCheck --match-full-lines impossible.
-
Bruno Ricci authored
The serialization of ConstantExpr has currently a number of problems: - Some fields are just not serialized (ConstantExprBits.APValueKind and ConstantExprBits.IsImmediateInvocation). - ASTStmtReader::VisitConstantExpr forgets to add the trailing APValue to the list of objects to be destroyed when the APValue needs cleanup. While we are at it, bring the serialization of ConstantExpr more in-line with what is done with the other expressions by doing the following NFCs: - Get rid of ConstantExpr::DefaultInit. It is better to not initialize the fields of an empty ConstantExpr since this will allow msan to detect if a field was not deserialized. - Move the initialization of the fields of ConstantExpr to the constructor; ConstantExpr::Create allocates the memory and ConstantExpr::ConstantExpr is responsible for the initialization. Review after commit since this is a straightforward mechanical fix similar to the other serialization fixes.
-
Bruno Ricci authored
It is "trailing objects" and "tail-allocated storage".
-
Nikita Popov authored
-
Nikita Popov authored
-
Simon Pilgrim authored
Pulled out from the ongoing work on D66004, currently we don't do a good job of simplifying variable shuffle masks that have already lowered to constant pool entries. This patch adds SimplifyDemandedVectorEltsForTargetShuffle (a custom x86 helper) to first try SimplifyDemandedVectorElts (which we already do) and then constant pool simplification to help mark undefined elements. To prevent lowering/combines infinite loops, we only handle basic constant pool loads instead of creating new BUILD_VECTOR nodes for lowering - e.g. we don't try to convert them to broadcast/vzext_load - there might be some benefit to this but if so I'd rather we come up with some way to reuse existing code than reimplement a lot of BUILD_VECTOR code. Differential Revision: https://reviews.llvm.org/D81791
-
clfbbn authored
Summary: The patch D81022 seems to break the indentation of the `cleanupIR()` function. This patch fixes this problem Reviewers: jdoerfert, sstefan1, uenoku Reviewed By: jdoerfert Subscribers: hiraditya, uenoku, kuter, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D82260
-
Wenlei He authored
Summary: Add call site location info into inline remarks so we can differentiate inline sites. This can be useful for inliner tuning. We can also reconstruct full hierarchical inline tree from parsing such remarks. The messege of inline remark is also tweaked so we can differentiate SampleProfileLoader inline from CGSCC inline. Reviewers: wmi, davidxl, hoy Subscribers: hiraditya, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D82213
-
Jonas Devlieghere authored
-
Jonas Devlieghere authored
-
Amy Kwan authored
This patch implements builtins for the following prototypes: ``` vector signed char vec_clrl (vector signed char a, unsigned int n); vector unsigned char vec_clrl (vector unsigned char a, unsigned int n); vector signed char vec_clrr (vector signed char a, unsigned int n); vector signed char vec_clrr (vector unsigned char a, unsigned int n); ``` Differential Revision: https://reviews.llvm.org/D81707
-
Eric Christopher authored
the llvm project, migrate away from the use of blacklist and whitelist.
-
Craig Topper authored
[X86] Set the cpu_vendor in __cpu_indicator_init to VENDOR_OTHER if cpuid isn't supported on the CPU. We need to set the cpu_vendor to a non-zero value to indicate that we already called __cpu_indicator_init once. This should only happen on a 386 or 486 CPU.
-
Eric Christopher authored
the llvm project, migrate away from the use of blacklist and whitelist.
-
Eric Christopher authored
-
Eric Christopher authored
-
Eric Christopher authored
as it's failing on the debian buildbots: http://lab.llvm.org:8011/builders/lldb-x86_64-debian/builds/12531 This reverts commit 90c1af10.
-
Eric Schweitz authored
The bridge uses internal boxes of related ssa-values to track all the information associated with a Fortran variable. Variables may have a location and a value, but may also carry other properties such as rank, shape, LEN parameters, etc. in Fortran. Differential revision: https://reviews.llvm.org/D82228
-
Eric Christopher authored
-
Sanjay Patel authored
As shown in the post-commit comment for D81661 - we need to loosen the type assertion to allow scalarization of a compare for vectors of pointers.
-
Raphael Isemann authored
The previous tests apparently missed a few code branches in DumpDataExtractor code. Also renames the 'test_instruction' which had the same name as another test (and Python therefore ignored the test entirely).
-
weihe authored
Summary: Add the --hot-func-list feature to llvm-profdata show for sample profiles. This feature prints a list of hot functions whose max sample count are above the 99% threshold, with their numbers of total samples, total samples percentage, max samples, entry samples, and their function names. Reviewers: wmi, hoyFB, wenlei Reviewed By: wmi Subscribers: hoyFB, wenlei, llvm-commits, weihe Tags: #llvm Differential Revision: https://reviews.llvm.org/D81800
-
- Jun 20, 2020
-
-
Sanjay Patel authored
-
Sanjay Patel authored
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Forward declaration is already used.
-
Sanjay Patel authored
Also, consolidate related folds so we don't miss/repeat these.
-
Sanjay Patel authored
-
Simon Pilgrim authored
The comparison value should be the same size - I've added an assert to be absolutely certain.
-
Simon Pilgrim authored
-
Nikita Popov authored
-
Nikita Popov authored
Optimizing away this comparison is not the point of this test, so make sure it cannot be optimized away.
-
Nikita Popov authored
There will be more places registering value handles.
-
Nikita Popov authored
This prevents us from creating temporary PoisoningVHs and AssertingVHs while performing hashmap lookups. As such, it only matters in assertion-enabled builds.
-
Bruno Ricci authored
In C++17 the operand(s) of an overloaded operator are sequenced as for the corresponding built-in operator when the overloaded operator is called with the operator notation ([over.match.oper]p2). Reported in PR35340. Differential Revision: https://reviews.llvm.org/D81330 Reviewed By: rsmith
-
Raphael Isemann authored
-
Florian Hahn authored
This potentially related to https://bugs.llvm.org/show_bug.cgi?id=46335 and causes a slight compile-time regression. Revert while investigating. This reverts commit d99a1848.
-
Kristina Bessonova authored
When building runtimes, the compiler name (e.g. clang, clang-cl) is set based on `CMAKE_SYSTEM_NAME` passed to `llvm_ExternalProject_Add()` through `CMAKE_ARGS` argument. This mechanism doesn't work well if the target is Windows host. `runtime_default_target()`/`builtin_default_target()` doesn't provide a way to specify `CMAKE_SYSTEM_NAME` and doesn't set it either. This patch appends variables specified in `RUNTIMES_CMAKE_ARGS`/`BUILTINS_CMAKE_ARGS` to `CMAKE_ARGS` argument of `llvm_ExternalProject_Add()` in the case of called from `runtime_default_target()`/`builtin_default_target()` thus in particular it allows passing CMAKE_SYSTEM_NAME whenever it is required. Reviewed By: phosek, compnerd, plotfi Differential Revision: https://reviews.llvm.org/D81877
-
Eric Christopher authored
as it's failing Semantics/omp-clause-validity01.f90. This reverts commit b3240146.
-
Eric Christopher authored
the llvm project, migrate away from the use of blacklist and whitelist.
-