- May 02, 2023
-
-
NAKAMURA Takumi authored
This is rework of; - D30046 (LLT) Since I have introduced `llvm-min-tblgen` as D146352, `llvm-tblgen` may depend on `CodeGen`. `LowLevlType.h` originally belonged to `CodeGen`. Almost all userse are still under `CodeGen` or `Target`. I think `CodeGen` is the right place to put `LowLevelType.h`. `MachineValueType.h` may be moved as well. (later, D149024) I have made many modules depend on `CodeGen`. It is consistent but inefficient. It will be split out later, D148769 Besides, I had to isolate MVT and LLT in modmap, since `llvm::PredicateInfo` clashes between `TableGen/CodeGenSchedule.h` and `Transforms/Utils/PredicateInfo.h`. (I think better to introduce namespace llvm::TableGen) Depends on D145937, D146352, and D148768. Differential Revision: https://reviews.llvm.org/D148767
-
NAKAMURA Takumi authored
-
Erich Keane authored
This reverts commit e3b1083e. This was reverted because it breaks a number of libstdc++ examples, AND required a workaround that causes hiding of legitimate bugs.
-
Erich Keane authored
This reverts commit ce861ec7.
-
Jakub Kuderski authored
Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D149583
-
Teresa Johnson authored
After importing variables, we do some checking to ensure that variables marked read or write only, which have been marked exported (e.g. because a referencing function has been exported), are on at least one module's imports list. This is because the read or write only variables will be internalized, so we need a copy any any module that references it. This checking is overly conservative in the case of linkonce_odr or other linkage types where there can already be a duplicate copy in existence in the importing module, which therefore wouldn't need to import it. Loosen up the checking for these linkage types. Fixes https://github.com/llvm/llvm-project/issues/62468. Differential Revision: https://reviews.llvm.org/D149630
-
Jakub Kuderski authored
Each of these ops is compatible with only one extension kind and produces an extra result bit. I checked these transformation in Alive2: 1. subi + extsi: https://alive2.llvm.org/ce/z/ipmZZA 2. divsi + extsi: https://alive2.llvm.org/ce/z/fAcqUv 3. divui + extui: https://alive2.llvm.org/ce/z/QZJpFp Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D149531
-
Cullen Rhodes authored
The MLIR SVE integration tests are now enabled in the clang-aarch64-full-2stage buildbot under emulation (QEMU) and two of the sparse integration tests are failing [1]: * mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_sorted_coo.mlir * mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_spmm.mlir The reason for this is the SVE RUN lines use plain 'lli' rather than the '%lli_host_or_aarch64_cmd' substitution that's necessary to run under emulation. The CI doesn't support SVE so the tests will SIGILL unless run under emulation. I should note the logs don't show a SIGILL, only the non-descript: FileCheck error: '<stdin>' is empty. but I expect this is what's actually happening. https://lab.llvm.org/buildbot/#/builders/179/builds/6051/steps/12/logs/stdio
-
Joseph Huber authored
This patch addresses some of the flags and features that are currently missing from the hermetic test support. This mostly just fixes the `add_libc_test` option failing to find a few dependencies or missing arguments from the previous unit test support. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D149629
-
Job Noorman authored
Note that this issue is also solved by D147544. Reviewed By: alexander-shaposhnikov Differential Revision: https://reviews.llvm.org/D149244
-
Job Noorman authored
For empty sections, RuntimeDyld always allocates 1 byte but leaves it uninitialized. This causes the contents of some output sections to be non-deterministic. Note that this issue is also solved by D147544. Fixes #59008 Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D149243
-
Jakub Kuderski authored
These two ops are handled in a very similar way -- the only difference in the number result bits produced. I checked these transformation with Alive2: 1. addi + sext: https://alive2.llvm.org/ce/z/3NSs9T 2. addi + zext: https://alive2.llvm.org/ce/z/t7XHOT 3. muli + sext: https://alive2.llvm.org/ce/z/-7sfW9 4. muli + zext: https://alive2.llvm.org/ce/z/h4yntF Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D149530
-
Jay Foad authored
-
Joel E. Denny authored
This patch fixes a bug introduced by D142586, which landed as 434992c9. The fix was to only look for alignments that are powers of 2. See the new test case for details. Reviewed By: jdoerfert, jhuber6 Differential Revision: https://reviews.llvm.org/D149490
-
Alexey Lapshin authored
This patch makes interface of AddressManager from DWARFLinker to be compatible with AddressesMap from DWARFLinkerParallel. This makes both linkers to be interchangeable. Differential Revision: https://reviews.llvm.org/D147455
-
4vtomat authored
Since we don't always need the vendor extension to be in riscv_vector.td, so it's better to make it be in separated header. Depends on D148223 and D148680 Differential Revision: https://reviews.llvm.org/D148308
-
Alexandre Ganea authored
Differential revision: https://reviews.llvm.org/D149609
-
Dmitry Chernenkov authored
-
4vtomat authored
This makes other new targets able to reuse predefined classes in their own *.td files. Differential Revision: https://reviews.llvm.org/D148680
-
Nelson Chu authored
Depends on D147934 and D147935 Differential Revision: https://reviews.llvm.org/D148223
-
Jay Foad authored
-
Shilei Tian authored
This reverts commit dc049a4e. It causes issue of export target.
-
Mariya Podchishchaeva authored
`ConvertTypeForMem` doesn't return wider type for _BitInt unless it is used in a bitfield, so no need to extend when trying to initialize a global variable. Fixes https://github.com/llvm/llvm-project/issues/62207 Reviewed By: erichkeane, shafik Differential Revision: https://reviews.llvm.org/D149436
-
Zhiyao Ma authored
Assuming that the stack grows downwards, it is fine if the stack pointer is exactly at the stacklet boundary. We should use less-or-equal condition when deciding whether to skip new memory allocation. Differential Revision: https://reviews.llvm.org/D149315
-
Kiran Chandramohan authored
For finding the last iteration of a loop, or the last section an if condition is generated. Using scf::if can cause some lowering issues since the code contained inside it can have branches. Using fir::if instead ensures that the fir::if is lowered into branches along with any code contained inside that can generate branches. Fixes #62458. Reviewed By: NimishMishra Differential Revision: https://reviews.llvm.org/D149547
-
Michael Buch authored
We just want to test whether the language switch works. This is easier to control for libc++, since for bots building the tests against libstdc++ we might not have the necessary `<compare>` header available currently.
-
LU Hongyi authored
This patch resolves an issue where a value is incorrectly displayed if it is represented by DW_OP_div. This issue is caused by lldb evaluating operands of DW_OP_div as unsigned and performed unintended unsigned division. This issue is resolved by creating two temporary signed scalar and performing signed division. (Addresses GH#61727) Differential Revision: https://reviews.llvm.org/D147370
-
Samira Bazuzi authored
This will eliminate the need for more pass-through APIs. Also replace pass-through usages with this exposure. Reviewed By: ymandel, gribozavr2, xazax.hun Differential Revision: https://reviews.llvm.org/D149464
-
Nikita Popov authored
There is no need to combine metadata if we're performing store to load forwarding. In that case we would end up combining metadata on an unrelated load instruction.
-
Nikita Popov authored
-
LLVM GN Syncbot authored
-
Balázs Kéri authored
Reviewed By: donat.nagy Fixed test failures with previous commit. Differential Revision: https://reviews.llvm.org/D138777
-
Nikita Popov authored
After D149435, LCSSA formation no longer needs access to ScalarEvolution, so remove the argument from the utilities.
-
David Green authored
This adds ComputeNumSignBits for the NEON vector comparison nodes, which all either return 0 or -1. Also adds sign_extend_inreg from VASHR+VSHL to show it performing transforms. Differential Revision: https://reviews.llvm.org/D148624
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Vassil Vassilev authored
This came up as a review comment in https://reviews.llvm.org/D148425
-
Jay Foad authored
-
LLVM GN Syncbot authored
-
Balázs Kéri authored
This reverts commit 1aa36da1.
-