- Jun 07, 2021
-
-
River Riddle authored
We were accidentally only using the first found reference, instead of all of them. This revision fixes this by properly tracking all references to a symbol. Differential Revision: https://reviews.llvm.org/D103730
-
River Riddle authored
For now the hover simply shows the same information as hovering on the operation name. If necessary this can be tweaked to something symbol specific later. Differential Revision: https://reviews.llvm.org/D103728
-
River Riddle authored
This revision adds support for hover on region operations, by temporarily removing the regions during printing. This revision also tweaks the hover format for operations to include symbol information, now that FuncOp can be shown in the hover. Differential Revision: https://reviews.llvm.org/D103727
-
William S. Moses authored
Introduce a simplification that allows memcpy of a cast to simply use the underlying op Differential Revision: https://reviews.llvm.org/D103830
-
William S. Moses authored
In an operation in the true/false dest of a branch, one can assume that the operation itself was true/false if only that edge can reach the operation. Differential Revision: https://reviews.llvm.org/D101709
-
Valentin Clement authored
This patch convert the if condition on standalone data operation such as acc.update, acc.enter_data and acc.exit_data to a scf.if with the operation in the if region. It removes the operation when the if condition is constant and false. It removes the the condition if it is contant and true. Conversion to scf.if is done in order to use the translation to LLVM IR dialect out of the box. Not sure this is the best approach or we should perform this during the translation from OpenACC to LLVM IR dialect. Any thoughts welcome. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D103325
-
Valentin Clement authored
This patch add canonicalization for the standalone data operation with constant if condition. It is extracted from this patch D103325. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D103712
-
Valentin Clement authored
Convert data operands from the acc.parallel operation using the same conversion pattern than D102170. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D103337
-
KareemErgawy authored
Implements better naming for results of spv.mlir.addressof ops by making it inherit from OpAsmOpInterface and implementing the associated getAsmResultName(...) hook. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D103594
-
Matthias Springer authored
Add helper functions to quickly check for zero low/high padding. Differential Revision: https://reviews.llvm.org/D103781
-
Matthias Springer authored
* Add hasUnitStride and hasZeroOffset to OffsetSizeAndStrideOpInterface. These functions are useful for various patterns. E.g., some vectorization patterns apply only for tensor ops with zero offsets and/or unit stride. * Add getConstantIntValue and isEqualConstantInt helper functions, which are useful for implementing the two above functions, as well as various patterns. Differential Revision: https://reviews.llvm.org/D103763
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in ComprehensiveBufferize.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103520
-
- Jun 05, 2021
-
-
Aart Bik authored
Controlled by a compiler option, if 32-bit indices can be handled with zero/sign-extention alike (viz. no worries on non-negative indices), scatter/gather operations can use the more efficient 32-bit SIMD version. Reviewed By: bixia Differential Revision: https://reviews.llvm.org/D103632
-
Rob Suderman authored
i48 integers require slightly tweaked behavior, specifically supporting zero point offsetting with slightly higher bitdepth. Updated results lowering appropriately. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D102659
-
Ahmed Taei authored
This reverts commit a5295940. Differential Revision: https://reviews.llvm.org/D103724
-
- Jun 04, 2021
-
-
Ahmed Taei authored
Otherwise tiled and padded linalg op will be alive (after distribution). Differential Revision: https://reviews.llvm.org/D103715
-
Matthias Springer authored
* Rename PadTensorOpVectorizationPattern to GenericPadTensorOpVectorizationPattern. * Make GenericPadTensorOpVectorizationPattern a private pattern, to be instantiated via populatePadTensorOpVectorizationPatterns. * Factor out parts of PadTensorOpVectorizationPattern into helper functions. This commit prepares PadTensorOpVectorizationPattern for a series of subsequent commits that add more specialized PadTensorOp vectorization patterns. Differential Revision: https://reviews.llvm.org/D103681
-
Matthias Springer authored
Differential Revision: https://reviews.llvm.org/D103599
-
Valentin Clement authored
Convert data operands from the acc.data operation using the same conversion pattern than D102170. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D103332
-
Christian Sigg authored
Reviewed By: ezhulenev, ftynse Differential Revision: https://reviews.llvm.org/D103592
-
Tobias Gysi authored
Replace all remaining uses of deprecated Structured Op Interface methods. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103673
-
Stella Laurenzo authored
These started failing on one of our buildbots. I didn't completely root cause the situation and just added the explicit includes that correct the issue. Reviewed By: rriddle, jpienaar Differential Revision: https://reviews.llvm.org/D103657
-
MaheshRavishankar authored
Differential Revision: https://reviews.llvm.org/D103635
-
River Riddle authored
This revision adds assembly state tracking for uses of symbols, allowing for go-to-definition and references support for SymbolRefAttrs. Differential Revision: https://reviews.llvm.org/D103585
-
Amy Zhuang authored
Reviewed By: vinayaka-polymage, bondhugula Differential Revision: https://reviews.llvm.org/D103294
-
- Jun 03, 2021
-
-
Nikita Popov authored
This is a followup to D103422. The DenseMapInfo implementations for ArrayRef and StringRef are moved into the ArrayRef.h and StringRef.h headers, which means that these two headers no longer need to be included by DenseMapInfo.h. This required adding a few additional includes, as many files were relying on various things pulled in by ArrayRef.h. Differential Revision: https://reviews.llvm.org/D103491
-
Aart Bik authored
Useful for "exhaustively" testing and benchmarking annotation combinations to verify correctness and perform state space search for best performing. Reviewed By: penpornk Differential Revision: https://reviews.llvm.org/D103566
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in Linalg.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103619
-
Alexander Belyaev authored
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in InlineScalarOperands.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103518
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in LinalgOps.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103506
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in Loops.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103453
-
Nicolas Agostini authored
Introduces a test pass that rewrites PadTensorOps with static shapes as a sequence of: ``` linalg.init_tensor // to create output linalg.fill // to initialize with padding value linalg.generic // to copy the original contents to the padded tensor ``` The pass can be triggered with: - `--test-linalg-transform-patterns="test-transform-pad-tensor"` Differential Revision: https://reviews.llvm.org/D102804
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in DropUnitDims.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103448
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in Bufferize.cpp, Detensorize.cpp, and Interchange.cpp. The patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103530
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in TestLinalgElementwiseFusion.cpp, TestLinalgFusionTransforms.cpp, and Transforms.cpp. The patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103528
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in Promotion.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103450
-
Tobias Gysi authored
Replace the uses of deprecated Structured Op Interface methods in Generalization.cpp. This patch is based on https://reviews.llvm.org/D103394. Differential Revision: https://reviews.llvm.org/D103531
-
Alexander Belyaev authored
Differential Revision: https://reviews.llvm.org/D103548
-
Chia-hung Duan authored
Move the core reducer algorithm into a library so that it'll be easier for porting to different projects. Depends On D101046 Reviewed By: jpienaar, rriddle Differential Revision: https://reviews.llvm.org/D101607
-