llvm
48691faf - [SYCL-MLIR] Capture split arrays during raising (#10693)

Commit
2 years ago
[SYCL-MLIR] Capture split arrays during raising (#10693) The frontend sometimes splits an array into multiple parts to pass it to a kernel. One example would be an array with nine elements, split into two `vector<4 x f32>` and a single scalar `f32`. With this change, this will be raised to a global constant of full length by putting the pieces together if they're constant, so we can reason about the constant array. --------- Signed-off-by: Lukas Sommer <lukas.sommer@codeplay.com>
Author
Parents
Loading