llvm-project/mlir/test/Conversion/LoopsToGPU
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
..
imperfect_2D.mlir Support lowering of imperfectly nested loops into GPU dialect. 2019-11-01 10:52:06 -07:00
imperfect_3D.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
imperfect_4D.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
imperfect_linalg.mlir Deprecate linalg.subview in favor of std.subview 2019-11-13 12:10:09 -08:00
linalg_to_gpu.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00
perfect_1D_setlaunch.mlir Support lowering of imperfectly nested loops into GPU dialect. 2019-11-01 10:52:06 -07:00
step_one.mlir Standardize the value numbering in the AsmPrinter. 2019-07-09 10:41:00 -07:00
step_positive.mlir Add integer bit-shift operations to the standard dialect. 2019-12-22 10:02:13 -08:00