- Jul 14, 2021
-
-
MaheshRavishankar authored
Differential Revision: https://reviews.llvm.org/D105852
-
Aart Bik authored
Adds zero-preserving unary operators from std. Also adds xor. Performs minor refactoring to remove "zero" node, and pushed the irregular logic for negi (not support in std) into one place. Reviewed By: gussmith23 Differential Revision: https://reviews.llvm.org/D105928
-
Adam Paszke authored
This includes: - void type - array types - function types - literal (unnamed) struct types Reviewed By: jpienaar, ftynse Differential Revision: https://reviews.llvm.org/D105908
-
Derek Schuff authored
This is a followup from D105749 to cover both triples in the case where they differ.
-
Alexander Yermolovich authored
This is a follow up to https://reviews.llvm.org/D104080, and https://github.com/llvm/llvm-project/commit/ca3bdb57fa1ac98b711a735de048c12b5fdd8086#diff-e64a48fabe31db213a631fdc5f2acb51bdddf3f16a8fb2928784f4c579229585. The implementation of call graph profile was changed from a black box section to relocation approach. This was done to be compatible with post processing tools like strip/objcopy, and llvm equivalent. When they are invoked on object file before the final linking step with this new approach the symbol indices correctness is preserved. The GNU binutils tools change the REL section to RELA section, unlike llvm tools. For example when strip -S is run on the ELF object files, as an intermediate step before linking. To preserve compatibility this patch extends implementation in LLD and ELFDumper to support both REL and RELA sections for call graph profile. Reviewed By: MaskRay, jhenderson Differential Revision: https://reviews.llvm.org/D105217
-
Hedin Garca authored
Redefined FPBits.h and LongDoubleBitsX86 so its implementation works for the Windows and Linux platform while maintaining a packed memory alignment of the precision floating point numbers. For its size in memory to be the same as the data type of the float point number. This change was necessary because the previous attribute((packed)) specification in the struct was not working for Windows like it was for Linux and consequently static_asserts in the FPBits.h file were failing. Reviewed By: aeubanks, sivachandra Differential Revision: https://reviews.llvm.org/D105561
-
Caitlyn Cano authored
The current compile options function hardcodes the -fpie and -ffreestanding flags, which don't exist on Windows. This patch sets the compilation flags conditionally based on the OS specifics. Reviewed By: sivachandra, aeubanks Differential Revision: https://reviews.llvm.org/D105643
-
Vitaly Buka authored
-
Philip Reames authored
This is split from D105216, but the code is hoisted much earlier into the path where we can actually get a zero stride flowing through. Some fairly simple proofs handle the cases which show up in practice. The only test changes are the cases where we really do need a non-zero divider to produce the right result. Differential Revision: https://reviews.llvm.org/D105921
-
Martin Storsjö authored
[libcxx] [docs] Acknowledge that the library is known to work in some configs outside of what's tested in CI Differential Revision: https://reviews.llvm.org/D105888
-
Vitaly Buka authored
Part of D105778
-
Hedin Garca authored
Defined constant that express the number of bits for exponent in single and double precision. Added bit masks values and other properties for quad precision floating point numbers that specifically targets architectures defined in PlatfromDefs.h. The exponentWidth values were added to be used in LongDoubleBitsX86.h where the implementation to set the exponent component uses this and the bitWidth value. The need occurred because of the 80-bit quad precision implementation. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D105153
-
Vedant Kumar authored
Document the `-compilation-dir` option added in D100232. Differential Revision: https://reviews.llvm.org/D105826
-
Vitaly Buka authored
-
Vitaly Buka authored
Breaks https://lab.llvm.org/buildbot/#/builders/anitizer-windows This reverts commit d89d3dfa.
-
Arthur O'Dwyer authored
-
Hafiz Abid Qadeer authored
This patch is a followup patch to https://reviews.llvm.org/D105760 which adds this relocation. This handles the relocation in lld. The s_branch family of instruction does the following: PC = PC + signext(simm * 4) + 4 so we we do the opposite on the target address before writing it in the instruction stream. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D105761
-
thomasraoux authored
TupleOp is not used anymore after recent refactoring. Differential Revision: https://reviews.llvm.org/D105924
-
Eli Friedman authored
-
Eli Friedman authored
Make sure getMinusSCEV() didn't return a pointer. The following check would never succeed if it was a pointer, anyway, but calling getMulExpr() on a pointer SCEV now asserts.
-
Nico Weber authored
-
Philip Reames authored
-
Artem Belevich authored
Tests for correctness of HIP architecture need `- xhip`
-
Philip Reames authored
Split off from D105216 to simplify review. Rewritten with a lambda to be easier to follow. Comments clarified. Sorry for no test case, this is tricky to exercise with the current structure of the code. It's about to be hit more frequently in a follow up patch, and the change itself is simple.
-
Jon Roelofs authored
-
Krishna Kariya authored
Add tests for D105088, as well as an option to disable the (generally) unsound inttoptr of ptrtoint optimization. Differential Revision: https://reviews.llvm.org/D105771
-
Thomas Lively authored
This will make it easier to update these tests as we add support for generating more SIMD loads and stores with custom alignments. Differential Revision: https://reviews.llvm.org/D105862
-
Victor Huang authored
[NFC] This patch adds features for pwr7, pwr8, and pwr9 that can be used for semachecking builtin functions that are only valid for certain versions of ppc. Reviewed By: nemanjai, #powerpc Authored By: Quinn Pham <Quinn.Pham@ibm.com> Differential revision: https://reviews.llvm.org/D105501
-
Victor Huang authored
This reverts commit 10e0cdfc.
-
Jon Roelofs authored
Differential revision: https://reviews.llvm.org/D105913
-
Jon Roelofs authored
Differential revision: https://reviews.llvm.org/D105912
-
Artem Belevich authored
Otherwise, if someone specifies a valid AMD arch, we may end up triggering an assertion on unexpected arch later on. Differential Revision: https://reviews.llvm.org/D105295
-
Philip Reames authored
-
Vitaly Buka authored
-
Valeriy Savchenko authored
This patch simplifies the way we deal with (dis)equalities. Due to the symmetry between constraint handler and range inferrer, we can have very similar implementations of logic handling questions about (dis)equality and assumptions involving (dis)equality. It also helps us to remove one more visitor, and removes uncertainty that we got all the right places to put `trackNE` and `trackEQ`. Differential Revision: https://reviews.llvm.org/D105693
-
Valeriy Savchenko authored
The new component is a symmetric response to SymbolicRangeInferrer. While the latter is the unified component, which answers all the questions what does the solver knows about a particular symbolic expression, assignor associates new constraints (aka "assumes") with symbolic expressions and can imply additional knowledge that the solver can extract and use later on. - Why do we need it and why is SymbolicRangeInferrer not enough? As it is noted before, the inferrer only helps us to get the most precise range information based on the existing knowledge and on the mathematical foundations of different operations that symbolic expressions actually represent. It doesn't introduce new constraints. The assignor, on the other hand, can impose constraints on other symbols using the same domain knowledge. - But for some expressions, SymbolicRangeInferrer looks into constraints for similar expressions, why can't we do that for all the cases? That's correct! But in order to do something like this, we should have a finite number of possible "similar expressions". Let's say we are asked about `$a - $b` and we know something about `$b - $a`. The inferrer can invert this expression and check constraints for `$b - $a`. This is simple! But let's say we are asked about `$a` and we know that `$a * $b != 0`. In this situation, we can imply that `$a != 0`, but the inferrer shouldn't try every possible symbolic expression `X` to check if `$a * X` or `X * $a` is constrained to non-zero. With the assignor mechanism, we can catch this implication right at the moment we associate `$a * $b` with non-zero range, and set similar constraints for `$a` and `$b` as well. Differential Revision: https://reviews.llvm.org/D105692
-
Vitaly Buka authored
-
Louis Dionne authored
Differential Revision: https://reviews.llvm.org/D105848
-
Tom Stellard authored
We want to use LLVM_EXTERNAL_LIT if defined for the %lit substitution. Reviewed By: jdenny Differential Revision: https://reviews.llvm.org/D105873
-
Peyton, Jonathan L authored
-