llvm-project/mlir/test/IR
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
..
affine-map.mlir More affine expr simplifications for floordiv and mod 2019-12-10 16:00:53 -08:00
attribute.mlir Add ReferToOp attribute constraint for SymbolRefAttr 2019-11-01 14:26:36 -07:00
check-help-output.mlir Add custom lilith script. 2019-03-29 13:02:57 -07:00
core-ops.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
invalid-affinemap.mlir Correctly parse empty affine maps. 2019-11-20 18:30:15 -08:00
invalid-func-op.mlir Rename the current parseSymbolName to parseOptionalSymbolName 2019-11-13 09:32:20 -08:00
invalid-locations.mlir Rename -verify mlir-opt flag to -verify-expected-diagnostics 2019-06-19 23:08:03 -07:00
invalid-module-op.mlir Move ModuleManager functionality into mlir::SymbolTable. 2019-12-05 03:56:46 -08:00
invalid-ops.mlir Introduce prefetch op: affine -> std -> llvm intrinsic 2019-12-18 10:00:04 -08:00
invalid.mlir Verifier: Better error message in case of successor operand mismatch. 2019-12-03 11:24:31 -08:00
locations.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
memory-ops.mlir Change the attribute dictionary syntax to separate name and value with '='. 2019-06-25 19:06:34 -07:00
module-op.mlir Give modules a name 2019-10-03 08:56:38 -07:00
op-stats.mlir Set the namespace of the StandardOps dialect to "std", but add a special case to the parser to allow parsing standard operations without the "std" prefix. This will now allow for the standard dialect to be looked up dynamically by name. 2019-03-29 16:54:20 -07:00
opaque_locations.mlir Add OpaqueLoc to MLIR locations. 2019-10-07 05:05:42 -07:00
operand.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
parser.mlir Don't force newline before function attributes 2019-11-21 05:08:19 -08:00
pretty-attributes.mlir Print out large elementsattr's such that they are parseable. 2019-12-04 10:19:54 -08:00
pretty-locations.mlir Replace the implementation of Function and Module with FuncOp and ModuleOp. 2019-07-03 14:37:18 -07:00
pretty-region-args.mlir Allow dialect to create friendly names for region arguments 2019-12-19 22:16:07 -08:00
print-op-local-scope.mlir Do not emit aliases when printing local form 2019-11-13 14:21:49 -08:00
print-op-on-diagnostic.mlir Add an option to print an operation if a diagnostic is emitted on it 2019-11-12 11:59:19 -08:00
region.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
repro_b120295301.mlir Change the attribute dictionary syntax to separate name and value with '='. 2019-06-25 19:06:34 -07:00
result.mlir Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00
test-func-erase-arg.mlir Add FuncOp::eraseArgument 2019-11-13 10:59:55 -08:00
test-func-set-type.mlir Add FuncOp::eraseArgument 2019-11-13 10:59:55 -08:00
test-matchers.mlir Post-submit cleanups in RecursiveMatchers 2019-12-09 07:47:35 -08:00
test-symbol-rauw.mlir Don't force newline before function attributes 2019-11-21 05:08:19 -08:00
test-symbol-uses.mlir Move ModuleManager functionality into mlir::SymbolTable. 2019-12-05 03:56:46 -08:00
traits.mlir minor spelling tweaks 2019-12-06 05:59:30 -08:00
wrapping_op.mlir Parse locations in parseGenericOperation 2019-10-28 15:11:26 -07:00