llvm-project/mlir/test/Transforms
Manuel Freiberger 22954a0e40 Add integer bit-shift operations to the standard dialect.
Rename the 'shlis' operation in the standard dialect to 'shift_left'. Add tests
for this operation (these have been missing so far) and add a lowering to the
'shl' operation in the LLVM dialect.

Add also 'shift_right_signed' (lowered to LLVM's 'ashr') and 'shift_right_unsigned'
(lowered to 'lshr').

The original plan was to name these operations 'shift.left', 'shift.right.signed'
and 'shift.right.unsigned'. This works if the operations are prefixed with 'std.'
in MLIR assembly. Unfortunately during import the short form is ambigous with
operations from a hypothetical 'shift' dialect. The best solution seems to omit
dots in standard operations for now.

Closes tensorflow/mlir#226

PiperOrigin-RevId: 286803388
2019-12-22 10:02:13 -08:00
..
Vectorize More affine expr simplifications for floordiv and mod 2019-12-10 16:00:53 -08:00
affine-data-copy.mlir Fix affine data copy generation corner cases/bugs 2019-09-03 11:53:16 -07:00
affine-loop-invariant-code-motion.mlir Implement simple loop-invariant-code-motion based on dialect interfaces. 2019-10-16 04:28:38 -07:00
canonicalize-dce.mlir Merge DCE and unreachable block elimination into a new utility 'simplifyRegions'. 2019-11-20 15:53:19 -08:00
canonicalize.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
constant-fold.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
cse.mlir Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
dma-generate.mlir Extend map canonicalization to propagate constant operands 2019-08-29 01:13:29 -07:00
inlining.mlir Add support for canonicalizing callable regions during inlining. 2019-10-10 17:06:33 -07:00
loop-coalescing.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
loop-fusion-dependence-check.mlir Globally change load/store/dma_start/dma_wait operations over to affine.load/store/dma_start/dma_wait. 2019-07-03 14:37:06 -07:00
loop-fusion-slice-computation.mlir Minor spelling tweaks 2019-12-09 09:23:48 -08:00
loop-fusion.mlir AffineLoopFusion: Prevent fusion of multi-out-edge producer loops 2019-12-03 06:09:50 -08:00
loop-invariant-code-motion.mlir Implement simple loop-invariant-code-motion based on dialect interfaces. 2019-10-16 04:28:38 -07:00
loop-tiling.mlir Standardize the value numbering in the AsmPrinter. 2019-07-09 10:41:00 -07:00
lower-affine.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
memref-bound-check.mlir Standardize the value numbering in the AsmPrinter. 2019-07-09 10:41:00 -07:00
memref-dataflow-opt.mlir Upgrade/fix/simplify store to load forwarding 2019-09-21 10:08:56 -07:00
memref-dependence-check.mlir Add @below and @above directives to verify-diagnostics. 2019-10-23 15:56:29 -07:00
memref-normalize.mlir fix simplify-affine-structures bug 2019-10-07 10:04:50 -07:00
parallelism-detection.mlir Affine loop parallelism detection: conservatively handle unknown ops 2019-07-23 10:18:46 -07:00
parametric-mapping.mlir Support lowering of imperfectly nested loops into GPU dialect. 2019-11-01 10:52:06 -07:00
parametric-tiling.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
pipeline-data-transfer.mlir pipeline-data-transfer: remove dead tag alloc's and improve test coverage for replaceMemRefUsesWith / pipeline-data-transfer 2019-09-04 06:59:09 -07:00
simplify-affine-structures.mlir Fix minor spelling tweaks (NFC) 2019-10-20 09:44:36 -07:00
slicing-utils.mlir fix isValidDim for block arg case 2019-12-20 09:44:03 -08:00
strip-debuginfo.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
test-canonicalize.mlir Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
test-inlining.mlir Add the initial inlining infrastructure. 2019-09-05 12:24:13 -07:00
test-legalize-remapped-value.mlir Add getRemappedValue to ConversionPatternRewriter 2019-11-19 11:09:39 -08:00
test-legalizer-analysis.mlir Add support for multi-level value mapping to DialectConversion. 2019-09-16 10:38:19 -07:00
test-legalizer-full.mlir NFC: Refactor block signature conversion to not erase the original arguments. 2019-11-13 10:27:53 -08:00
test-legalizer.mlir Try to fold operations in DialectConversion when trying to legalize. 2019-12-13 16:47:26 -08:00
unroll-jam.mlir unroll and jam: fix order of jammed bodies 2019-10-08 15:13:11 -07:00
unroll.mlir More affine expr simplifications for floordiv and mod 2019-12-10 16:00:53 -08:00