- Oct 22, 2022
-
-
Mircea Trofin authored
One of the first few instructions being probed has an opcode that's more likely to change with work on X86 target, so just regexp-ing it.
-
Peixin Qiao authored
Programmers may use procedure without BIND(C) attribute to interoperate with C code. For numerical/logical scalar with VALUE attribute, pass the argument by value so that the behavior is consistent with gfortran or nvfortran. The argument with the OPTIONAL attribute cannot be passed by value since the actual argument may be absent. For the derived type, pass-by-value is not supported yet, so pass the argument by reference for now. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D136260
-
Alexander Shaposhnikov authored
Adjust the automatic fixit to avoid adding superfluous semicolon. Test plan: ninja check-all Differential revision: https://reviews.llvm.org/D136399
-
LLVM GN Syncbot authored
-
Nico Weber authored
-
Peter Klausler authored
Now that Fortran warnings are tested, one test is failing unexpectedly on aarch64 even though it should run only for x86. Disabling it for now with "XFAIL: *" to get build bot back up until the test's configuration can be properly corrected.
-
Xiang1 Zhang authored
Differential Revision: https://reviews.llvm.org/D135941
-
bixia1 authored
Reviewed By: Peiming, aartbik Differential Revision: https://reviews.llvm.org/D136516
-
Hanhan Wang authored
The foldMemRefCast method is defined in memref namespace; the foldTensorCast method is defined in tensor namespace. This revision deletes the dup code and use the unified methods. Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D136379
-
Evgeny Shulgin authored
Add time profiler for various constexpr evaluation events so that slow event could be visible on the visualized flame chart. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D136022
-
Aart Bik authored
This exposed a missing type conversion for codegen Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D136286
-
bixia1 authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D136481
-
Peter Klausler authored
A recent upgrade to test_errors.py enabled verification of warning messages. One test had warning messages that depend on *not* being run in Windows, and it now fails. Add an !UNSUPPORTED: system-windows line to it.
-
River Riddle authored
Enum definitions are currently spread throughout the op definitions file, making it difficult to reason about both where they are, and where to add new ones when necessary. The attribute definitions are in a similarish case, where while they have a dedicated .td file, there definitions/declarations are generated in the main LLVMDialect source files. This makes it difficult to reason about how to cleanly add new attributes/enums. This commit adds a dedicated LLVMEnums.td file for enum definitions, cleans up the AttrDefs.td file, and adds a new LLVMAttrs.cpp/.h file to home enum/attr definitions moving forward. This makes it much cleaner to add new attributes/enums to the LLVM dialect. Differential Revision: https://reviews.llvm.org/D136409
-
River Riddle authored
This enables find/replace of nested components for location attributes. Differential Revision: https://reviews.llvm.org/D136408
-
River Riddle authored
This greatly simplifies composing enums in attribute/type printers, which currently reimplement these functions as needed. Differential Revision: https://reviews.llvm.org/D136407
-
Chia-hung Duan authored
This reverts commit 1cf1b361. Reviewed By: cferris Differential Revision: https://reviews.llvm.org/D136027
-
wren romano authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D136506
-
Jeff Niu authored
SubElementInterfaces forbids all mutable types and attributes from implementing `replaceImmediateSubElements`. However, this prohibits literal structs, which are immutable, from implementing that function. This patch defers the decision on whether to support `replaceImmediateSubElements` to the individual types/attributes. Depends on D136505 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136507
-
Jeff Niu authored
This keeps the current parser, however, since the mnemonic `vec` is overloaded for both of these types. Depends on D136499 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136505
-
Jeff Niu authored
This method was assearting on opaque pointers because the element is null. Depends on D136498 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136499
-
Jeff Niu authored
Depends on D136485 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136498
-
Jeff Niu authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136485
-
Murali Vijayaraghavan authored
Fixed CMakeLists.txt to export mlir/include/mlir/Dialenct/SparseTensor/IR/Enums.h correctly for installing MLIRSparseTensorEnums as a library in other projects using MLIR Differential Revision: https://reviews.llvm.org/D136477
-
Peiming Liu authored
scf.for used to only support 1:1 type conversion, this patch add support for 1:N type conversion. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D136314
-
Arthur Eubanks authored
This doesn't touch objc-arc-contract because that's in the codegen pipeline. However, this does move its corresponding initialize function into initializeCodegen(). Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D135041
-
Jeff Niu authored
-
Chia-hung Duan authored
This is not a pure revert of c929bcb7. It also includes a bug fix. Differential Revision: https://reviews.llvm.org/D136029
-
Jeff Niu authored
This moves the `LLVMArrayType` to a `TypeDef`. The main side-effect of this change is that the syntax `array<4xi32>` is no longer allowed. It was previously parsed and then printed as `array<4 x i32>`. Now the syntax must be the latter. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136473
-
rkayaith authored
This adds a '--no-implicit-module' option, which disables the insertion of a top-level 'builtin.module' during parsing. The translation APIs are also updated to take/return 'Operation*' instead of 'ModuleOp', to allow other operation types to be used. To simplify translations which are restricted to specific operation types, 'TranslateFromMLIRRegistration' has an overload which performs the necessary cast and error checking. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D134237
-
rkayaith authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136480
-
Petr Hosek authored
This reverts commit 8d89dbce since this broke the compiler-rt build.
-
Peter Klausler authored
flang/test/Semantics/test_errors,py only compares actual error messages with expected error messages. Many tests have expected warning messages in them, but they are not checked. A forthcoming change adds several new warning and explanatory messages to the compiler, and these messages must be testable. So (re-?) enable non-error message checking in test_errors.py and adjust some existing tests to get them to pass. Warning messages related to host-specific folding conditions will not be emitted on all platforms, so they will continue to be ignored. Differential Revision: https://reviews.llvm.org/D136479
-
Siva Chandra Reddy authored
-
bixia1 authored
Also fix the rewrite rule for sparse_tensor.new to reflect the recent change of the runtime C interface and to use utilities for memref.alloca. Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D135891
-
Jeff Niu authored
Fixes shared lib build
-
Bjorn Pettersson authored
Another step towards getting rid of dependencies to the legacy pass manager. Primary change here is to just do -passes=foo instead of -foo in simple situations (when running a single pass). But also updated a few test running multiple passes.
-
Petr Hosek authored
All our users have migrated to ld64.lld so we no longer need libLTO. Differential Revision: https://reviews.llvm.org/D135471
-
rkayaith authored
The error stream isn't being propagated properly, causing some output to be sent to stderr even when a different stream is given. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D136414
-
Carlos Alberto Enciso authored
The test case 'checkFlexiblePatterns' caused a failure in: https://lab.llvm.org/buildbot/#/builders/85/builds/11590 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior runtime error: applying zero offset to null pointer llvm/lib/Support/regengine.inc:151:18 The logical view is traversed and for each logical element a series of match criterias are applied. One of those criterias is to match its name or type name to a given pattern. If the logical element does not have a type (for instance a 'namespace') do not try to use its type name, which is a empty string as the 'matcher' function receives a null pointer. Reviewed By: probinson Differential Revision: https://reviews.llvm.org/D136444
-