- Jan 04, 2021
-
-
Juneyoung Lee authored
This patch makes X86InterleavedAccessGroup::deinterleave8bitStride3 use the unary CreateShuffleVector. This is a continuation of D93923. There were a few missing replacements. IIUC, this patch does not cause change in the generated programs' semantics because the function inserts shufflevectors that only choose elements from the first vector. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D93993
-
Nikita Popov authored
-
- Jan 03, 2021
-
-
Juneyoung Lee authored
This is a simple patch that updates InstSimplify to return poison if the index is/can be out-of-bounds Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D93990
-
Florian Hahn authored
This adds test coverage for the case where we do argument promotion and there's a dead GEP that should be removed/ignored.
-
Juneyoung Lee authored
This patch makes Scalarizer to use poison as insertelement's placeholder. It contains two changes in Scalarizer.cpp, and the both changes does not change the semantics of the optimized program. It is because the placeholder value (poison) is already completely hidden by following insertelement instructions. The first change at visitBitCastInst() creates poison vector of MidTy and consecutively inserts FanIn times, which is # of elems of MidTy. The second change at ScalarizerVisitor::finish() creates poison with Op->getType(), and it is filled with Count insertelements. The test diffs show that the poison value is never exposed after insertelements. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D93989
-
Juneyoung Lee authored
-
Gil Rapaport authored
Let getTruncateExpr() short-circuit to zero when the value being truncated is known to have at least as many trailing zeros as the target type. Differential Revision: https://reviews.llvm.org/D93973
-
Alexey Lapshin authored
That refactoring is helpful since it reduces data inter-dependencies. Which is good for current implementation and even more good for fully multi-thread implementation. The idea of the refactoring is to delete UniquingStringPool from the global DWARFLinker level. It is used to unique type names while ODR deduplication is done. Thus we move UniquingStringPool into the DeclContextTree which matched to UniquingStringPool usage scope. golden-dsymutil/dsymutil 23787992 clang MD5: 7d9873ff94f0246b6ab1ec3e8d0f3f06 build-Release/bin/dsymutil 23921272 clang MD5: 7d9873ff94f0246b6ab1ec3e8d0f3f06 Differential Revision: https://reviews.llvm.org/D93460
-
Nico Weber authored
Revert "[sanitizer] Define SANITIZER_GLIBC to refine SANITIZER_LINUX feature detection and support musl" ...and follow-ups. It still doesn't build on Android, see https://reviews.llvm.org/D93848#2476310 This reverts commit a92d0153. This reverts commit 52d7e183. This reverts commit 34489da8.
-
Lang Hames authored
Patch by Moritz Sichert. Thanks Moritz! Differential Revision: https://reviews.llvm.org/D89373
-
LLVM GN Syncbot authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
Reduced from vanilla test-suite
-
Roman Lebedev authored
The limitation of the current pass that it skips initializer-less GV's seems arbitrary, in all the reduced cases i (personally) looked at, the globals weren't needed, yet they were kept. So let's do two things: 1. allow reducing initializer-less globals 2. before reducing globals, reduce their initializers, much like we do function bodies
-
Roman Lebedev authored
ee6e25e4 changed the delta pass to skip intrinsics, which means we may end up being left with declarations of intrinsics, that aren't otherwise referenced in the module. This is obviously unwanted, do drop them.
-
Roman Lebedev authored
[SimplifyCFG][AMDGPU] AMDGPUUnifyDivergentExitNodes: SimplifyCFG isn't ready to preserve PostDomTree There is a number of transforms in SimplifyCFG that take DomTree out of DomTreeUpdater, and do updates manually. Until they are fixed, user passes are unable to claim that PDT is preserved. Note that the default for SimplifyCFG is still not to preserve DomTree, so this is still effectively NFC.
-
Hongtao Yu authored
`UniqueInternalLinkageNamesPass` is useful to CSSPGO, especially when pseudo probe is used. It solves naming conflict for static functions which otherwise will share a merged profile and likely have a profile quality issue with mismatched CFG checksums. Since the pseudo probe instrumentation happens very early in the pipeline, I'm moving `UniqueInternalLinkageNamesPass` right before it. This is being done only to the new pass manager. Reviewed By: dblaikie, aeubanks Differential Revision: https://reviews.llvm.org/D93656
-
Nathan James authored
-
Brandon Bergren authored
-
Brandon Bergren authored
Enable OpenMP for powerpcle to match the rest of powerpc*. Update tests. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D92445
-
Brandon Bergren authored
Add support for linking powerpcle code in LLD. Rewrite lld/test/ELF/emulation-ppc.s to use a shared check block and add powerpcle tests. Update tests. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D93917
-
Brandon Bergren authored
Add powerpcle support to clang. For FreeBSD, assume a freestanding environment for now, as we only need it in the first place to build loader, which runs in the OpenFirmware environment instead of the FreeBSD environment. For Linux, recognize glibc and musl environments to match current usage in Void Linux PPC. Adjust driver to match current binutils behavior regarding machine naming. Adjust and expand tests. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D93919
-
Brandon Bergren authored
Add object file handling for powerpcle-*-*. Adjust tests. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D93916
-
Brandon Bergren authored
Add a triple for powerpcle-*-*. This is a little-endian encoding of the 32-bit PowerPC ABI, useful in certain niche situations: 1) A loader such as the FreeBSD loader which will be loading a little endian kernel. This is required for PowerPC64LE to load properly in pseries VMs. Such a loader is implemented as a freestanding ELF32 LSB binary. 2) Userspace emulation of a 32-bit LE architecture such as x86 on 64-bit hosts such as PowerPC64LE with tools like box86 requires having a 32-bit LE toolchain and library set, as they operate by translating only the main binary and switching to native code when making library calls. 3) The Void Linux for PowerPC project is experimenting with running an entire powerpcle userland. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D93918
-
Michał Górny authored
Copy changes, including: - NativeProcessNetBSD::GetLoadedModuleFileSpec() and NativeProcessNetBSD::GetFileLoadAddress() methods - split x86 register sets by CPU extensions - use offset/size-based register reading/writing Differential Revision: https://reviews.llvm.org/D93541
-
Pavel Labath authored
Use auto-generation of lldb-server&debugserver variants.
-
Pavel Labath authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Florian Hahn authored
Clean up some stray whitespace that sneaked in recently.
-
- Jan 02, 2021
-
-
Gil Rapaport authored
The loop vectorizer avoids folding the tail for loop's whose trip-count is known to SCEV to be divisible by VF. In this case the assumption providing this information is not taken into account, so the tail is needlessly folded.
-
Roman Lebedev authored
This guards against unintentional mistakes like the one i just fixed in previous commit.
-
Roman Lebedev authored
also, don't verify DomTree unless we intend to maintain it. This is a very dumb think-o, i guess i was even warned about it by subconsciousness in 4b806473's commit message.. Fixes a compile-time regression reported by Martin Storsjö in post-commit review of 2461cdb4.
-
Nico Weber authored
They fail at least on my Win bot after switching it to Py3. See PR48646 for details.
-
Nico Weber authored
-
Nico Weber authored
-
Nico Weber authored
Made necessary by 20670ba4, the first Py3-only change.
-