summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
diff options
context:
space:
mode:
authorManuel Freiberger <manuel.freiberger@gmail.com>2019-12-22 10:01:35 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-22 10:02:13 -0800
commit22954a0e408afde1d8686dffb3a3dcab107a2cd3 (patch)
treed206709d143fb15efd807a2c601035668fcae7b2 /lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
parentdcc14f08656a82aadd326aeca54b95b5b866fc86 (diff)
downloadbcm5719-llvm-22954a0e408afde1d8686dffb3a3dcab107a2cd3.tar.gz
bcm5719-llvm-22954a0e408afde1d8686dffb3a3dcab107a2cd3.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud