- Jan 03, 2021
-
-
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.
-
Yang Fan authored
-
Chengji Yao authored
Fix bug: https://bugs.llvm.org/show_bug.cgi?id=46845 Differential Revision: https://reviews.llvm.org/D93831
-
Hsiangkai Wang authored
We could expand vmsge{u}.vx pseudo instructions in RISCVAsmParser. It is more appropriate to expand it before encoding. Differential Revision: https://reviews.llvm.org/D93968 -
Fangrui Song authored
Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D93970
-
Fangrui Song authored
-
Roman Lebedev authored
This is a (last big?) part of the patch series to make SimplifyCFG preserve DomTree. Currently, it still does not actually preserve it, even thought it is pretty much fully updated to preserve it. Once the default is flipped, a valid DomTree must be passed into simplifyCFG, which means that whatever pass calls simplifyCFG, should also be smart about DomTree's. As far as i can see from `check-llvm` with default flipped, this is the last LLVM test batch (other than bugpoint tests) that needed fixes to not break with default flipped. The changes here are boringly identical to the ones i did over 42+ times/commits recently already, so while AMDGPU is outside of my normal ecosystem, i'm going to go for post-commit review here, like in all the other 42+ changes. Note that while the pass is taught to preserve {,Post}DomTree, it still doesn't do that by default, because simplifycfg still doesn't do that by default, and flipping default in this pass will implicitly flip the default for simplifycfg. That will happen, but not right now. -
Roman Lebedev authored
-
Roman Lebedev authored
Once the default for SimplifyCFG flips, we can no longer pass nullptr instead of DomTree to SimplifyCFG, so we need to propagate it here. We don't strictly need to actually preserve DomTree in DwarfEHPrepare, but we might as well do it, since it's trivial.
-
Roman Lebedev authored
These tests start to fail when the SimplifyCFG's default regarding DomTree updating is switched on, so mark them as needing changes.
-
Roman Lebedev authored
This is consistent with the layout of other passes, and simplifies further refinements regarding DomTree handling. This is indended to be a NFC commit.
-
Roman Lebedev authored
-
Roman Lebedev authored
[Utils] LocalTest: fix SimplifyCFGWithNullAC test to work with `-simplifycfg-require-and-preserve-domtree=1`
-
Roman Lebedev authored
Otherwise these particular tests fail when SimplifyCFG requires DomTree
-
Roman Lebedev authored
-
Roman Lebedev authored
-
Roman Lebedev authored
It's probably better than hoping that it will happen to be already initialized.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
The last use of this function was removed on Jan 4, 2018 in commit commit 90ecac01.
-
Fangrui Song authored
On many targets the matched line is `define dso_local i32 @main` while on ppc64 it is `define dso_local signext i32 @main`.
-
Sanjay Patel authored
This is almost all mechanical search-and-replace and no-functional-change-intended (NFC). Having a single enum makes it easier to match/reason about the reduction cases. The goal is to remove `Opcode` from reduction matching code in the vectorizers because that makes it harder to adapt the code to handle intrinsics. The code in RecurrenceDescriptor::AddReductionVar() is the only place that required closer inspection. It uses a RecurrenceDescriptor and a second InstDesc to sometimes overwrite part of the struct. It seem like we should be able to simplify that logic, but it's not clear exactly which cmp+sel patterns that we are trying to handle/avoid.
-
Sanjay Patel authored
-
Alexey Bataev authored
-