- Jun 21, 2021
-
-
LLVM GN Syncbot authored
-
hsmahesha authored
The main motivation behind pointer replacement of LDS use within non-kernel functions is - to *avoid* subsequent LDS lowering pass from directly packing LDS (assume large LDS) into a struct type which would otherwise cause allocating huge memory for struct instance within every kernel. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D103225
-
Pushpinder Singh authored
There does not seem to be any use of these functions. They just put the value to a local which is never used again. Reviewed By: JonChesterfield Differential Revision: https://reviews.llvm.org/D104512
-
Max Kazantsev authored
-
Nathan Ridge authored
Differential Revision: https://reviews.llvm.org/D103789
-
Esme-Yi authored
Summary: This patch, as a follow-up of D95505, adds support for writing the long symbol name by implementing the StringTable. Only XCOFF32 is suppoted now. Reviewed By: jhenderson, shchenz Differential Revision: https://reviews.llvm.org/D103455
-
Max Kazantsev authored
This patch lifts the requirement to have the only incoming live block for Phis. There can be multiple live blocks if the same value comes to phi from all of them. Differential Revision: https://reviews.llvm.org/D103959 Reviewed By: nikic, lebedev.ri
-
Zhouyi Zhou authored
Hi, I think it will be more beautiful to adjust indentation of statements with more than one lines. In function TreeTransform<Derived>::TransformDependentScopeDeclRefExpr the second line of statement NestedNameSpecifierLoc QualifierLoc \newline = getDerived().TransformNestedNameSpecifierLoc(E->getQualifierLoc()); is no more indent than the first line There is a similar case in function TreeTransform<Derived>::TransformUnresolvedMemberExpr Also I use clang-format to fix above functions Thanks alot Reviewed By: pengfei Differential Revision: https://reviews.llvm.org/D104145
-
Nico Weber authored
The variable used to need the wider scope, but doesn't after the reland. See LC_LINKER_OPTIONS-related discussion on https://reviews.llvm.org/D104353 for background.
-
Juneyoung Lee authored
This patch updates InstCombine to use poison constant to represent the resulting value of (either semantically or syntactically) unreachable instrs, or a don't-care value of an unreachable store instruction. This allows more aggressive folding of unused results, as shown in llvm/test/Transforms/InstCombine/getelementptr.ll . Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D104602
-
Nico Weber authored
Real zerofill sections go after __thread_bss, since zerofill sections must all be at the end of their segment and __thread_bss must be right after __thread_data. Works fine already, but wasn't tested as far as I can tell. Also tweak comment about zerofill sections a bit. No behavior change. Differential Revision: https://reviews.llvm.org/D104609
-
Eli Friedman authored
Make all the constructors forward to one constructor. Remove redundant assertions.
-
Jim Lin authored
https://reviews.llvm.org/rG36a489d194750dc888f214240e9dec9122ca1f0e renamed the function call in the test from getUnsafeAlgebraInst to getExactFPMathInst. Reviewed By: spatel Differential Revision: https://reviews.llvm.org/D104441
-
Jez Ng authored
We make it less than INT_MAX in order not to conflict with the ordering of zerofill sections, which must always be placed at the end of their segment. This is the more structural fix for the issue addressed in {D104596}. Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D104607 -
Fangrui Song authored
Also delete the single dash form which does not appear to be used.
-
Fangrui Song authored
-
Dmitri Gribenko authored
-
Jason Molenda authored
MSVC and clang seem to disagree with whether I can do this.
-
Craig Topper authored
TypePromotion is meant to be a generic pass and doesn't reference any ARM intrinsics so it shouldn't include IntrinsicsARM.h. The other Intrinsic related headers appear to be unneeded as well.
-
Jason Molenda authored
Add a new feature to process save-core on Darwin systems -- for lldb to create a user process corefile with only the dirty (modified memory) pages included. All of the binaries that were used in the corefile are assumed to still exist on the system for the duration of the use of the corefile. A new --style option to process save-core is added, so a full corefile can be requested if portability across systems, or across time, is needed for this corefile. debugserver can now identify the dirty pages in a memory region when queried with qMemoryRegionInfo, and the size of vm pages is given in qHostInfo. Create a new "all image infos" LC_NOTE for Mach-O which allows us to describe all of the binaries that were loaded in the process -- load address, UUID, file path, segment load addresses, and optionally whether code from the binary was executing on any thread. The old "read dyld_all_image_infos and then the in-memory Mach-O load commands t...
-
Nikita Popov authored
This is a more general alternative/extension to D102635. Rather than handling the special case of "header exit with non-exiting latch", this unrolls against the smallest exact trip count from any exit. The latch exit is no longer treated as priviledged when it comes to full unrolling. The motivating case is in full-unroll-one-unpredictable-exit.ll. Here the header exit is an IV-based exit, while the latch exit is a data comparison. This kind of loop does not get rotated, because the latch is already exiting, and loop rotation doesn't try to distinguish IV-based/analyzable latches. Differential Revision: https://reviews.llvm.org/D102982
-
Fangrui Song authored
-
Fangrui Song authored
-
Fangrui Song authored
-
Michał Górny authored
Add support for extracting basic data from NetBSD/i386 core dumps. FPU registers are not supported at the moment. Differential Revision: https://reviews.llvm.org/D101091
-
David Green authored
DSE will currently only remove stores in the same block unless they can be guaranteed to be loop invariant. This expands that to any stores that are in the same Loop, at the same loop level. This should still account for where AA/MSSA will not handle aliasing between loops, but allow the dead stores to be removed where they overlap in the same loop iteration. It requires adding loop info to DSE, but that looks fairly harmless. The test case this helps is from code like this, which can come up in certain matrix operations: for(i=..) dst[i] = 0; for(j=..) dst[i] += src[i*n+j]; After LICM, this becomes: for(i=..) dst[i] = 0; sum = 0; for(j=..) sum += src[i*n+j]; dst[i] = sum; The first store is dead, and with this patch is now removed. Differntial Revision: https://reviews.llvm.org/D100464
-
- Jun 20, 2021
-
-
Sanjay Patel authored
The general pattern is mentioned in: https://llvm.org/PR50140 ...but we need to do a bit more to handle intrinsics with extra operands like ctlz/cttz.
-
Raul Tambre authored
Reviewed By: Quuxplusone Differential Revision: https://reviews.llvm.org/D103769
-
Peter Steinfeld authored
I implemented constant folding for the NOT intrinsic and added some tests. Differential Revision: https://reviews.llvm.org/D104587
-
Sanjay Patel authored
This pair of transforms was added recently with: 85916403 And could lead to conflicting folds: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35399
-
Roman Lebedev authored
These all (and some others) are being affected by D104597, but they are manually-written, which rather complicates checking the effect that change has on them.
-
Roman Lebedev authored
Now that FileCheck eagerly complains when prefixes are unused, the update script does the same, and is becoming very common to need to drop some prefixes, yet figuring out the file it complains about isn't obvious unless it actually tells us.
-
Roman Lebedev authored
Same as with HoistThenElseCodeToIf() (ad877619).
-
Roman Lebedev authored
This problem is exposed by D104598, after it tail-merges `ret` in `@test_inline_constraint_S_label`, the verifier would start complaining `invalid operand for inline asm constraint 'S'`. Essentially, taking address of a block is mismodelled in IR. It should probably be an explicit instruction, a first one in block, that isn't identical to any other instruction of the same type, so that it can't be hoisted.
-
Juneyoung Lee authored
This adds a simple transformation from icmp with poison constant to poison. Comparing poison with something else is poison, so this is okay. https://alive2.llvm.org/ce/z/e8iReb https://alive2.llvm.org/ce/z/q4MurY
-
Fangrui Song authored
GCC 12 will change the length field to represent the number of bytes instead of 32-bit words. This avoids padding for strings.
-
Fangrui Song authored
-
Michael Kruse authored
Add REQUIRES: shell to tests that execute a UNIX shell script to not run on Windows. -
Fangrui Song authored
-
Petr Hosek authored
This fixes a bug introduced in d85c258f.
-