- Oct 02, 2022
-
-
-
Sanjay Patel authored
-
David Green authored
These go via Dag2Dag, which are better based on element sizes not the exact element types.
-
David Green authored
-
Florian Hahn authored
Update tryToSimplifyOverflowMath to indicate whether the function made any changes to the IR.
-
David Green authored
-
David Green authored
This adds missing tablegen patterns for VEXT, identical to the fp16 patterns as they only use baseline Neon operations. Part of fixing #57770.
-
David Green authored
Much like f16 and f32, we shouldn't try to shrink bf16 to smaller fp constant. The code may not be optimal, but this allows us to legalize bf16 constants under Arm without errors.
-
Peixin Qiao authored
This reverts commit d11e406e.
-
Fangrui Song authored
and fix it for 32-bit ports defining sem_init@GLIBC_2.0 (i386, mips32, powerpc32) for glibc>=2.36. Fix https://github.com/llvm/llvm-project/issues/58079 Reviewed By: mgorny Differential Revision: https://reviews.llvm.org/D135023
-
Peixin Qiao authored
The previous resolve only creates the host associated varaibles for common block members, but does not replace the original objects with the new created ones. Fix it and also compute the sizes and offsets for the host common block members if they are host associated. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D127214
-
Peixin Qiao authored
The real(10) is supported on x86_64. On aarch64, the value of selected_real_kind(16) should be 16 rather than 10 since real(10) is not supported on x86_64. Previously, the real type support check is not target dependent. Support it now through the target triple information. Reviewed By: clementval Differential Revision: https://reviews.llvm.org/D134021
-
Kees Cook authored
[clang][auto-init] Deprecate -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang GCC 12 has been released and contains unconditional support for -ftrivial-auto-var-init=zero: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ftrivial-auto-var-init Maintain compatibility with GCC, and remove the -enable flag for "zero" mode. The flag is left to generate an "unused" warning, though, to not break all the existing users. The flag will be fully removed in Clang 17. Link: https://github.com/llvm/llvm-project/issues/44842 Reviewed By: nickdesaulniers, MaskRay, srhines, xbolva00 Differential Revision: https://reviews.llvm.org/D125142
-
LLVM GN Syncbot authored
-
Konstantin Varlamov authored
Instead of using `reverse_iterator`, share the optimization between the 4 algorithms. The key observation here that `memmove` applies to both `copy` and `move` identically, and to their `_backward` versions very similarly. All algorithms now follow the same pattern along the lines of: ``` if constexpr (can_memmove<InIter, OutIter>) { memmove(first, last, out); } else { naive_implementation(first, last, out); } ``` A follow-up will delete `unconstrained_reverse_iterator`. This patch removes duplication and divergence between `std::copy`, `std::move` and `std::move_backward`. It also improves testing: - the test for whether the optimization is used only applied to `std::copy` and, more importantly, was essentially a no-op because it would still pass if the optimization was not used; - there were no tests to make sure the optimization is not used when the effect would be visible. Differential Revision: https://reviews.llvm.org/D130695 -
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Jacques Pienaar authored
The current generation is unsafe as it is evaluated during verify invocation rather than during verifySymbolUses. Remove until this is safely generated. Differential Revision: https://reviews.llvm.org/D134558
-
Arthur Eubanks authored
-
Craig Topper authored
One of the sources is the same size as the destination so that source doesn't have an overlap with the destination register. By using the _TIED form we avoid an early clobber contraint for that source. This matches what was already done for instrinsics. ConvertToThreeAddress will fix it if it can't stay tied.
-
Craig Topper authored
-
-
Fangrui Song authored
To avoid name conflict with `elf::ctx`.
-
Jessica Paquette authored
SDAG does this, GISel doesn't. See https://gcc.godbolt.org/z/sqjMx3Tfv More context: https://github.com/llvm/llvm-project/issues/57256 Differential Revision: https://reviews.llvm.org/D135021
-
Fangrui Song authored
This removes one global variable and removes GOT and unique_ptr indirection.
-
Fangrui Song authored
Add LLVM_LIBRARY_VISIBILITY to remove unneeded GOT and unique_ptr indirection.
-
Jessica Paquette authored
-
Nikolas Klauser authored
Reviewed By: ldionne, Mordante, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D128578
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: sstefan1, libcxx-commits, jeroen.dobbelaere Differential Revision: https://reviews.llvm.org/D134901
-
Jessica Paquette authored
This fixes the `urem_undef_lhs` case in the following: https://gcc.godbolt.org/z/Wo9x7o679 Also see https://github.com/llvm/llvm-project/issues/57256 for more related bugs. This is equivalent to the undef bits in `simplifyDivRem` in the DAGCombiner. Differential Revision: https://reviews.llvm.org/D135020
-
Alex Brachet authored
`LLVM_DISTRIBUTION_COMPONENTS` now influences the llvm binary in the normal cmake output directory when it is set. This allows for distribution targets to only include tools they want in the llvm binary. It must be done this way because only one target can be associated with a specific output name. Differential Revision: https://reviews.llvm.org/D131310
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D134979
-
Fangrui Song authored
Add LLVM_LIBRARY_VISIBILITY to remove unneeded GOT and unique_ptr indirection. We can move other global variables into ctx without indirection concern. In the long term we may consider passing Ctx as a parameter to various functions and eliminate global state as much as possible and then remove `Ctx::reset`.
-
Fangrui Song authored
`config` has 1000+ uses so we try to avoid changing `config->foo`. Define a wrapper with LLVM_LIBRARY_VISIBILITY to remove unneeded GOT and unique_ptr indirection. My x86-64 lld executable is 11+KiB smaller.
-
David Green authored
This moves the struct, as it is now parsed by TargetInfo, so avoiding some includes of AST in Basic.
-
Dave Lee authored
Profiles show that `DWARFUnit::ExtractUnitDIENoDwoIfNeeded` is both high firing (tens of thousands of calls) and fast running (15 µs mean). Timers like this are noise and load for profiling systems, and can be removed. rdar://100326595 Differential Revision: https://reviews.llvm.org/D134920
-
Dave Lee authored
Profiles show that `SymbolFileDWARF::FindFunctions` is both high firing (many thousands of calls) and fast running (35 µs mean). Timers like this are noise and load for profiling systems, and can be removed. rdar://100326595 Differential Revision: https://reviews.llvm.org/D134922
-
Florian Hahn authored
This ensures PreservedCFGCheckerAnalysis is always added, independent of whether opt was built with assertions enabled or not. This fixes a few buildbot failures for bots that don't have assertions enabled.
-
- Oct 01, 2022
-
-
David Green authored
-