Commit
8ad998a6115a8cd59a18ebdd5ec65329e42050e7
by Abhina.Sreeskantharajan[tools] Mark output of tools as text if it is really text
This is a continuation of https://reviews.llvm.org/D67696. The following tools also need to set the OF_Text flag correctly.
- llvm-profdata - llvm-link
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D94313
|
 | llvm/test/tools/llvm-profdata/csprof-dump.test |
 | llvm/test/tools/llvm-profdata/instr-remap.test |
 | llvm/tools/llvm-link/llvm-link.cpp |
 | llvm/tools/llvm-profdata/llvm-profdata.cpp |
Commit
05e90cefeb4bc5613b2cadedc2b8e2ecb2ed20ed
by mtrofin[NFC] Disallow unused prefixes under llvm/test/CodeGen
This patch finishes addressing unused prefixes under CodeGen: 2 remaining tests fixed, and then undo-ing the lit.local.cfg changes under various subdirs and moving the policy under CodeGen.
Differential Revision: https://reviews.llvm.org/D94430
|
 | llvm/test/CodeGen/ARM/speculation-hardening-sls.ll |
 | llvm/test/CodeGen/NVPTX/f16-instructions.ll |
 | llvm/test/CodeGen/X86/lit.local.cfg |
 | llvm/test/CodeGen/AMDGPU/lit.local.cfg |
 | llvm/test/CodeGen/PowerPC/lit.local.cfg |
 | llvm/test/CodeGen/lit.local.cfg |
Commit
c1ae378205db72cd80a52b85b8474077d1aa5b15
by thomasraoux[mlir][vector] Add side-effect information to different load/store ops
Differential Revision: https://reviews.llvm.org/D94434
|
 | mlir/include/mlir/Dialect/Vector/VectorOps.td |
 | mlir/test/Dialect/Vector/canonicalize.mlir |
Commit
53c866c286a7ca52bd09c7661d4c532ce5c0def8
by stellaraccidentEnable python bindings for tensor, shape and linalg dialects.
* We've got significant missing features in order to use most of these effectively (i.e. custom builders, region-based builders). * We presently also lack a mechanism for actually registering these dialects but they can be use with contexts that allow unregistered dialects for further prototyping.
Differential Revision: https://reviews.llvm.org/D94368
|
 | mlir/lib/Bindings/Python/CMakeLists.txt |
 | mlir/cmake/modules/AddMLIRPythonExtension.cmake |
 | mlir/lib/Bindings/Python/TensorOps.td |
 | mlir/lib/Bindings/Python/LinalgOps.td |
 | mlir/test/Bindings/Python/CMakeLists.txt |
 | mlir/lib/Bindings/Python/ShapeOps.td |
Commit
cceb1bfcbbc4ee2e9cc56b76a4acc4cd52968791
by stellaraccident[mlir][CAPI] Introduce standard source layout for mlir-c dialect registration.
* Registers a small set of sample dialects. * NFC with respect to existing C-API symbols but some headers have been moved down a level to the Dialect/ sub-directory. * Adds an additional entry point per dialect that is needed for dynamic discovery/loading. * See discussion: https://llvm.discourse.group/t/dialects-and-the-c-api/2306/16
Differential Revision: https://reviews.llvm.org/D94370
|
 | mlir/lib/CAPI/Standard/StandardDialect.cpp |
 | mlir/lib/CAPI/Standard/CMakeLists.txt |
 | mlir/include/mlir-c/Dialect/Linalg.h |
 | mlir/lib/CAPI/Dialect/CMakeLists.txt |
 | mlir/include/mlir-c/StandardDialect.h |
 | mlir/lib/CAPI/Dialect/Tensor.cpp |
 | mlir/lib/CAPI/Dialect/Linalg.cpp |
 | mlir/lib/CAPI/Dialect/Shape.cpp |
 | mlir/include/mlir-c/Dialect/SCF.h |
 | mlir/include/mlir-c/Dialect/Standard.h |
 | mlir/include/mlir-c/Dialect/Tensor.h |
 | mlir/include/mlir/CAPI/Registration.h |
 | mlir/include/mlir-c/Dialect/Shape.h |
 | mlir/lib/CAPI/CMakeLists.txt |
 | mlir/test/CAPI/ir.c |
 | mlir/include/mlir-c/Registration.h |
 | mlir/lib/CAPI/Dialect/SCF.cpp |
 | mlir/lib/CAPI/Dialect/Standard.cpp |
Commit
110775809ad114e190132290657a86b2c292a878
by joker.ephRevert "[mlir][linalg] Support parsing attributes in named op spec"
This reverts commit df86f15f0c53c395dac5a14aba08745bc12b9b9b.
The gcc-5 build was broken by this change:
mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp:1275:77: required from here /usr/include/c++/5/ext/new_allocator.h:120:4: error: no matching function for call to 'std::pair<const std::__cxx11::basic_string<char>, {anonymous}::TCParser::RegisteredAttr>::pair(llvm::StringRef&, {anonymous}::TCParser::RegisteredAttr'
|
 | mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp |
 | mlir/test/mlir-linalg-ods-gen/test-linalg-ods-gen.tc |
Commit
288f3fc5dfee0c51fc00fe10a985f93c505073eb
by spatel[InstCombine] reduce icmp(ashr X, C1), C2 to sign-bit test
This is a more basic pattern that we should handle before trying to solve: https://llvm.org/PR48640
There might be a better way to think about this because the pre-condition that I came up with (number of sign bits in the compare constant) misses a potential transform for each of ugt and ult as commented on in the test file.
Tried to model this is in Alive: https://rise4fun.com/Alive/juX1 ...but I couldn't get the ComputeNumSignBits() pre-condition to work as expected, so replaced with leading 0/1 preconditions instead.
Name: ugt Pre: countLeadingZeros(C2) <= C1 && countLeadingOnes(C2) <= C1 %a = ashr %x, C1 %r = icmp ugt i8 %a, C2 => %r = icmp slt i8 %x, 0
Name: ult Pre: countLeadingZeros(C2) <= C1 && countLeadingOnes(C2) <= C1 %a = ashr %x, C1 %r = icmp ult i4 %a, C2 => %r = icmp sgt i4 %x, -1
Also approximated in Alive2: https://alive2.llvm.org/ce/z/u5hCcz https://alive2.llvm.org/ce/z/__szVL
Differential Revision: https://reviews.llvm.org/D94014
|
 | llvm/test/Transforms/InstCombine/icmp-shr.ll |
 | llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp |
Commit
32c073acb320db3b22ca76b1e21dd688a70b50e8
by bjorn.a.pettersson[GlobalISel] Map extractelt to G_EXTRACT_VECTOR_ELT
Before this patch there was generic mapping from vector_extract to G_EXTRACT_VECTOR_ELT added in SelectionDAGCompat.td. That mapping is now replaced by a mapping from extractelt instead.
The reasoning is that vector_extract is marked as deprecated, so it is assumed that a majority of targets will use extractelt and not vector_extract (and that the long term solution for all targets would be to use extractelt).
Targets like AArch64 that still use vector_extract can add an additional mapping from the deprecated vector_extract as target specific tablegen definitions. Such a mapping is added for AArch64 in this patch to avoid breaking tests.
When adding the extractelt => G_EXTRACT_VECTOR_ELT mapping we triggered some new code paths in GlobalISelEmitter, ending up in an assert when trying to import a pattern containing EXTRACT_SUBREG for ARM. Therefore this patch also adds a "failedImport" warning for that situation (instead of hitting the assert).
Differential Revision: https://reviews.llvm.org/D93416
|
 | llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td |
 | llvm/lib/Target/AArch64/AArch64InstrGISel.td |
 | llvm/utils/TableGen/GlobalISelEmitter.cpp |
Commit
aefeb5f136e7b72b251ce2881cb39a1fe8f0d76a
by sivachandra[libc][NFC] Make __support/common.h an in tree header.
It was previously a generated header. It can easily converted to a generated header if required in future.
Reviewed By: michaelrj
Differential Revision: https://reviews.llvm.org/D94445
|
 | libc/src/__support/common.h.def |
 | libc/src/__support/CMakeLists.txt |
 | libc/src/__support/common.h |
Commit
9b222b108a2e37eb45d3156ec8554d148d658a8a
by richard[c++20] Don't consider string literal operator templates for numeric literals.
A literal interpretation of the standard wording allows this, but it was never intended that string literal operator templates would be used for anything other than user-defined string literals.
|
 | clang/test/SemaCXX/cxx2a-user-defined-literals.cpp |
 | clang/lib/Sema/SemaLookup.cpp |
Commit
f4cec703ec8452f9d8b04fae171ba459adf38123
by iAdd an assert to CGDebugInfo::getTypeOrNull
|
 | clang/lib/CodeGen/CGDebugInfo.cpp |
Commit
7989684a2e4a496201ff41d31cede764487ca80f
by fraser[RISCV] Add scalable vector fadd/fsub/fmul/fdiv ISel patterns
Original patch by @rogfer01.
This patch adds ISel patterns for the above operations to the corresponding vector/vector and vector/scalar RVV instructions, as well as extra patterns to match operand-swapped scalar/vector vfrsub and vfrdiv.
Authored-by: Roger Ferrer Ibanez <rofirrim@gmail.com> Co-Authored-by: Fraser Cormack <fraser@codeplay.com>
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D94408
|
 | llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td |
 | llvm/test/CodeGen/RISCV/rvv/vfmul-sdnode-rv32.ll |
 | llvm/test/CodeGen/RISCV/rvv/vfmul-sdnode-rv64.ll |
 | llvm/test/CodeGen/RISCV/rvv/vfadd-sdnode-rv64.ll |
 | llvm/test/CodeGen/RISCV/rvv/vfsub-sdnode-rv64.ll |
 | llvm/test/CodeGen/RISCV/rvv/vfdiv-sdnode-rv64.ll |
 | llvm/test/CodeGen/RISCV/rvv/vfsub-sdnode-rv32.ll |
 | llvm/test/CodeGen/RISCV/rvv/vfdiv-sdnode-rv32.ll |
 | llvm/test/CodeGen/RISCV/rvv/vfadd-sdnode-rv32.ll |
Commit
046612d29d7894783e8fcecbc62ebd6b4a78499f
by ajcbik[mlir][vector] verify memref of vector memory ops
This ensures the memref base + indices expression is well-formed
Reviewed By: ThomasRaoux, ftynse
Differential Revision: https://reviews.llvm.org/D94441
|
 | mlir/lib/Dialect/Vector/VectorOps.cpp |
 | mlir/test/Dialect/Vector/invalid.mlir |
Commit
a808d89d355c98d7475795e13271beb90e9436cb
by nikita.ppv[PredicateInfo] Add test for one unknown condition in and/or (NFC)
Test the case where one part of and/or is an icmp, while the other one is an arbitrary value.
|
 | llvm/test/Transforms/Util/PredicateInfo/testandor.ll |
Commit
00f773cf424699d8eb31591fdc95e0ca18b2682c
by nikita.ppv[SCCP] Fix misclassified conditions in test (NFC)
|
 | llvm/test/Transforms/SCCP/conditions-ranges.ll |
Commit
b88c8f1aab527f1aebe612ab6c50a418bff88584
by iCGDebugInfo: Delete unused parameters
|
 | clang/lib/CodeGen/CGDebugInfo.cpp |
 | clang/lib/CodeGen/CGDebugInfo.h |
 | clang/lib/CodeGen/CodeGenFunction.cpp |