[mlir][ArmSVE] Add basic arithmetic operations
authorJavier Setoain <javier.setoain@gmail.com>
Wed, 5 May 2021 07:38:50 +0000 (09:38 +0200)
committerAlex Zinenko <zinenko@google.com>
Wed, 5 May 2021 07:50:18 +0000 (09:50 +0200)
commit001d601ac4fb1ee02d4bb3990f2f5a8afacd4932
treeead92e7fb6fdf8e5ac050c11b911d9ae37fafb6a
parente510860656bb81bd90ae3cf8bb5ef4dc8cd33c18
[mlir][ArmSVE] Add basic arithmetic operations

While we figure out how to best add Standard support for scalable
vectors, these instructions provide a workaround for basic arithmetic
between scalable vectors.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D100837
mlir/include/mlir/Dialect/ArmSVE/ArmSVE.td
mlir/lib/Dialect/ArmSVE/Transforms/LegalizeForLLVMExport.cpp
mlir/test/Dialect/ArmSVE/legalize-for-llvm.mlir
mlir/test/Dialect/ArmSVE/roundtrip.mlir
mlir/test/Target/LLVMIR/arm-sve.mlir