- Jun 06, 2022
-
-
Florian Hahn authored
Try to simplify BranchOnCount to `BranchOnCond true` if TC <= UF * VF. This is an alternative to D121899 which simplifies the VPlan directly instead of doing so late in code-gen. The potential benefit of doing this in VPlan is that this may help cost-modeling in the future. The reason this is done in prepareToExecute at the moment is that a single plan may be used for multiple VFs/UFs. There are further simplifications that can be applied as follow ups: 1. Replace inductions with constants 2. Replace vector region with regular block. Fixes #55354. Depends on D126679. Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D126680
-
David Spickett authored
This reverts commit d4220af5. Linaro bots are back online.
-
Shao-Ce SUN authored
Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D125083
-
yanming authored
-
Kazu Hirata authored
-
yanming authored
The default RegisterClass is not enough to model RISCV Register. We define risc-v's own register class to model FP Register. This helps to better estimate the register pressure in the loop-vectorize. Reviewed By: kito-cheng Differential Revision: https://reviews.llvm.org/D126854
-
Qingyuan Zheng authored
Fixes https://github.com/clangd/clangd/issues/1132 where clangd's semantic highlighting is missing for symbols of a template specialization definition. It turns out the visitor didn't traverse the base classes of Class/Var##TemplateSpecializationDecl, i.e. CXXRecordDecl/VarDecl. This patch adds them back as what is done in DEF_TRAVERSE_TMPL_PART_SPEC_DECL. Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D126757
-
Kazu Hirata authored
- truncateQuotedNameFront: The last use was removed on Jul 10, 2017 in commit a9d944fd. - truncateQuotedNameBack: The last use was removed on Mar 26, 2018 in commit 7b84b678. - truncateStringMiddle: The last use was removed on Mar 26, 2018 in commit 7b84b678. - truncateStringBack: The last use is in truncateQuotedNameBack being removed above. - truncateStringFront: The last use is in truncateQuotedNameFront being removed above.
-
Chuanqi Xu authored
promise_type Address the post-commit comment in https://reviews.llvm.org/D125517#inline-1217244
-
Chris Bieneman authored
This patch adds an llvm-driver multicall tool that can combine multiple LLVM-based tools. The build infrastructure is enabled for a tool by adding the GENERATE_DRIVER option to the add_llvm_executable CMake call, and changing the tool's main function to a canonicalized tool_name_main format (i.e. llvm_ar_main, clang_main, etc...). As currently implemented llvm-driver contains dsymutil, llvm-ar, llvm-cxxfilt, llvm-objcopy, and clang (if clang is included in the build). llvm-driver can be enabled from builds by setting LLVM_TOOL_LLVM_DRIVER_BUILD=On. There are several limitations in the current implementation, which can be addressed in subsequent patches: (1) the multicall binary cannot currently properly handle multi-dispatch tools. This means symlinking llvm-ranlib to llvm-driver will not properly result in llvm-ar's main being called. (2) the multicall binary cannot be comprised of tools containing conflicting cl::opt options as the global cl::opt option list cannot contain duplicates. These limitations can be addressed in subsequent patches. Differential revision: https://reviews.llvm.org/D109977
-
Brad Smith authored
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D123845
-
Kazu Hirata authored
The last use was removed on Mar 7, 2022 in commit 294eca35.
-
jacquesguan authored
This patch replaces some llvm::find with llvm::is_contained, it should be more clear. Differential Revision: https://reviews.llvm.org/D127077
-
Kazu Hirata authored
The last use was removed on Dec 23, 2021 in commit 29f88b93.
-
Kazu Hirata authored
The last use was removed on Jun 27, 2019 in commit 81389961.
-
Lian Wang authored
Reviewed By: frasercrmck Differential Revision: https://reviews.llvm.org/D126439
-
chenglin.bi authored
-
chenglin.bi authored
-
chenglin.bi authored
-
Phoebe Wang authored
We are lacking builtins support for `_Float16`. In most cases, we can use other floating-type builtins and truncate them to `_Float16`. But it's a problem to SNaN, e.g., https://gcc.godbolt.org/z/cqr5nG1jh This patch adds `__builtin_nansf16` support as well as other 3 ones since they are usually used together. Reviewed By: LuoYuanke Differential Revision: https://reviews.llvm.org/D127050
-
Kazu Hirata authored
-
Sanjay Patel authored
https://alive2.llvm.org/ce/z/o7rQ5q This shows an extra instruction in some cases, but that is caused by an existing canonicalization of trunc -> and+icmp. Codegen should be better for any target where a multiply is more costly than the most simple ALU op. This ends up producing the requested x86 asm from issue #55618, but it's not the same IR. We are missing a canonicalization from the negate+mask pattern to the trunc+select created here.
-
Sanjay Patel authored
issue #55838
-
Fangrui Song authored
Similar to 98067998
-
owenca authored
Fixes #55853. Differential Revision: https://reviews.llvm.org/D127054
-
Fangrui Song authored
-
Fangrui Song authored
The directive name is not useful because the next line replicates the error line which includes the directive. The prevailing style uses "expected newline".
-
Aditya Kumar authored
Reviewed By: thakis Differential Revision: https://reviews.llvm.org/D123640
-
Fangrui Song authored
The directive name is not useful because the next line replicates the error line which includes the directive. The prevailing style uses "expected newline".
-
Peter Collingbourne authored
Differential Revision: https://reviews.llvm.org/D127068
-
Fangrui Song authored
-
Joe Loser authored
The `ranges.transform.pass.cpp` often times out on CI for AIX (32-bit and 64-bit) only. Mark the test as `UNSUPPORTED` for `AIX` for now. It should be looked into in the future. Differential Revision: https://reviews.llvm.org/D127051
-
Stella Laurenzo authored
When building in debug mode, the link time of the standalone sample is excessive, taking upwards of a minute if using BFD. This at least allows lld to be used if the main invocation was configured that way. On my machine, this gets a standalone test that requires a relink to run in ~13s for Debug mode. This is still a lot, but better than it was. I think we may want to do something about this test: it adds a lot of latency to a normal compile/test cycle and requires a bunch of arg fiddling to exclude. I think we may end up wanting a `check-mlir-heavy` target that can be used just prior to submit, and then make `check-mlir` just run unit/lite tests. More just thoughts for the future (none of that is done here). Reviewed By: bondhugula, mehdi_amini Differential Revision: https://reviews.llvm.org/D126585
-
Kazu Hirata authored
-
Kazu Hirata authored
This patch fixes: llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp:910:5: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
-
Matheus Izvekov authored
Signed-off-by:
Matheus Izvekov <mizvekov@gmail.com> Differential Revision: https://reviews.llvm.org/D127074
-
Alexey Lapshin authored
This patch is extraction from the https://reviews.llvm.org/D126883. It removes DwarfStringPoolEntryRef::isIndexed() and isIndexed bit since they are not used. Differential Revision: https://reviews.llvm.org/D126958
-
LemonBoy authored
This patch introduces support for %hix, %lox, %gdop_hix22, %gdop_lox10 and %gdop. An extra test is introduced to make sure the fixups are correctly applied. Reviewed By: dcederman Differential Revision: https://reviews.llvm.org/D102575
-
Peter Klausler authored
On targets with __float128 available and distinct from long double, use it to support more kind=16 entry points. This affects mostly x86-64 targets. This means that more runtime entry points are defined for lowering to call. Delete Common/long-double.h and its LONG_DOUBLE macro in favor of testing the standard macro LDBL_MANT_DIG. Differential Revision: https://reviews.llvm.org/D127025
-
- Jun 05, 2022
-
-
Kazu Hirata authored
The last use was removed on Feb 18, 2022 in commit 00ab91b7.
-