aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorBenjamin Maxwell <benjamin.maxwell@arm.com>2023-09-11 15:40:15 +0000
committerBenjamin Maxwell <benjamin.maxwell@arm.com>2023-09-11 16:47:51 +0000
commitccef726d09b1ffadfae6b1d1d986ae2f6d25a6a6 (patch)
tree2a6dedbea5ca1651fd73ab77ccfb7afc95634565 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent6bf923d5c3daf5d66e0acf53d037a12ceff4a275 (diff)
downloadllvm-ccef726d09b1ffadfae6b1d1d986ae2f6d25a6a6.zip
llvm-ccef726d09b1ffadfae6b1d1d986ae2f6d25a6a6.tar.gz
llvm-ccef726d09b1ffadfae6b1d1d986ae2f6d25a6a6.tar.bz2
[mlir][VectorOps] Don't drop scalable dims when lowering transfer_reads/writes (in VectorToLLVM)
This is a follow-on to D158753, and allows the lowering of a transfer read/write of n-D vectors with a single trailing scalable dimension to primitive vector ops. The final conversion to LLVM depends on D158517 and D158752, without these patches type conversion will fail (or an assert is hit in the LLVM backend) if the final IR contains an array of scalable vectors. This patch adds `transform.apply_patterns.vector.lower_create_mask` which allows the lowering of vector.create_mask/constant_mask to be tested independently of --convert-vector-to-llvm. Reviewed By: c-rhodes, awarzynski, dcaballe Differential Revision: https://reviews.llvm.org/D159482
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions