- Feb 14, 2022
-
-
Teresa Johnson authored
Attempts to fix a bot failure from 634da7a1 on an Android bot: https://lab.llvm.org/buildbot#builders/77/builds/14339 It appears that the chmod is not making the directory unwritable as expected on this system for some reason. Adopt an approach used in compiler-rt/test/fuzzer/fuzzer-dirs.test for systems with non-functioning chmod by including illegal characters in directory.
-
Simon Pilgrim authored
-
Markus Böck authored
Fixes https://github.com/llvm/llvm-project/issues/53655 Differential Revision: https://reviews.llvm.org/D119659
-
Simon Pilgrim authored
-
Dmitry Vassiliev authored
Need to add an assert about this->takeName(this). This restriction is already documented, so this is just an NFC check. Without this assertion (as prescribed by original comments for this API), name deletion or down-stream assert failures may occur in other routines: e.g. at the beginning of replaceAllUsesWith() below. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D119636
-
Ivan Butygin authored
Fixes https://github.com/llvm/llvm-project/issues/53099 Differential Revision: https://reviews.llvm.org/D119663
-
Arthur Eubanks authored
Fixes a MemCpyOpt miscompile with opaque pointers. This function can be further cleaned up, but let's just fix the miscompile first. Reviewed By: #opaque-pointers, nikic Differential Revision: https://reviews.llvm.org/D119652
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Keith Smiley authored
This wasn't running because of the missing colon
-
Nathan Chancellor authored
This reverts commit af45d0fd. This causes assertions failures when compiling the Linux kernel. See https://reviews.llvm.org/D118663 for a reduced reproducer.
-
Keith Smiley authored
This adds support for encoding and decoding the LC_FUNCTION_STARTS load command payload. Differential Revision: https://reviews.llvm.org/D119205
-
- Feb 13, 2022
-
-
Benjamin Kramer authored
-
Teresa Johnson authored
Add a DirExists mechanism, modeled after FileExists. Use it to guard creation of the report path directory. This should avoid failures running the sanitizer in a sandbox where the file creation attempt causes hard failures, even for an existing directory. Problem reported on D109794 for ChromeOS in sandbox (https://issuetracker.google.com/209296420). Differential Revision: https://reviews.llvm.org/D119495
-
Simon Pilgrim authored
-
Sanjay Patel authored
This is a retry of b4b97ec8 - that was reverted because it could cause miscompiles by illegally reordering memory operations. A new test based on #53695 is added here to verify we do not have that same problem. extract_vec_elt (load X), C --> scalar load (X+C) As noted in the comment, DAGCombiner has this fold -- and the code in this patch is adapted from DAGCombiner::scalarizeExtractedVectorLoad() -- but x86 should benefit even if the loaded vector has other uses as long as we apply some other x86-specific conditions. The motivating example from #50310 is shown in vec_int_to_fp.ll. Fixes #50310 Fixes #53695 Differential Revision: https://reviews.llvm.org/D118376
-
Simon Pilgrim authored
This often occurs when the accumulator is larger than the source vector element, such as some of the tests mentioned in Issue #42019
-
Simon Pilgrim authored
The pointers are referenced immediately, so assert the cast is correct instead of returning nullptr
-
Aaron Ballman authored
without prototypes. This patch converts the function signatures to have a prototype for the situations where the test is not specific to K&R C declarations. e.g., void func(); becomes void func(void); This is the ninth batch of tests being updated (there are a significant number of other tests left to be updated).
-
Florian Hahn authored
The noalias metadata checks re not really relevant for the test and slight changes to metadata numbering can have large knock-on effects causing large noise in test diff.
-
Harshil Jain authored
Device clause when it occurs with **target enter data** and **target exit data** must be declared with some non negative value. So some changes were made to evaluate the device clause argument to non negative value and throw the expected error when it takes negative value as argument. Reviewed By: clementval Differential Revision: https://reviews.llvm.org/D119141
-
Florian Hahn authored
Add real uses to some tests, to ensure dead instructions cannot be directly removed.
-
Sheng authored
When, for example, using "ascend" operator, I was wondering whether the bit order of the dag argument will be reversed in ascend order as well. This patch clarifies it. Reviewed By: myhsu Differential Revision: https://reviews.llvm.org/D119653
-
Sheng authored
-
Fangrui Song authored
The binding will matter if we remove the `sym->replace(und)` kludge from initializeSymbols. While here, rename the function to be more appropriate.
-
Sheng authored
-
Shilei Tian authored
This patch fixes the issue that the for loop in `applyToShadowMapEntries` is infinite because `Itr` is not incremented in `CB`. Fixes #53727. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D119471
-
Phoebe Wang authored
D108887 fixed alignment mismatch by changing the caller's alignment in ABI. However, we found some cases that still assume the alignment is vector size. This patch fixes them to avoid the runtime crash. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D114536
-
Arthur Eubanks authored
-
Arthur Eubanks authored
-
Joe Loser authored
`<filesystem>` header has been around for a while now, so we can safely remove `<experimental/filesystem>` header. `_LIBCPP_DEPRECATED_EXPERIMENTAL_FILESYSTEM` suggests we were going to remove `<experimental/filesystem>` in llvm 11 release, but we never did. So, remove the experimental header now, its associated tests, and the `_LIBCPP_DEPRECATED_EXPERIMENTAL_FILESYSTEM` macro. Differential Revision: https://reviews.llvm.org/D119603
-
Simon Pilgrim authored
-
Craig Topper authored
While matching widening multiply, if we matched an extend from i8->i32, i16->i64 or i8->i64, we need to reintroduce a narrower extend. If we're matching a vwmulsu we need to use a sext for op0 and a zext for op1. This bug exists in LLVM 14 and will need to be backported. Differential Revision: https://reviews.llvm.org/D119618
-
Marek Kurdej authored
-
Simon Pilgrim authored
[clang] MicrosoftCXXNameMangler::mangleObjCKindOfType - use castAs<> instead of getAs<> to avoid dereference of nullptr The pointer is referenced in the mangleType call, so assert the cast is correct instead of returning nullptr
-
Simon Pilgrim authored
[clang-tidy] SimplifyBooleanExprCheck - use cast<> instead of dyn_cast<> to avoid dereference of nullptr The IfStmt pointer is always referenced inside the replaceCompoundReturnWithCondition call, so assert the cast is correct instead of returning nullptr
-