[PATCH] D79644: [mlir][StandardToSPIRV] Add support for lowering index_cast to SPIR-V.
Lei Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 18:17:15 PDT 2020
antiagainst added a comment.
In D79644#2027720 <https://reviews.llvm.org/D79644#2027720>, @hanchung wrote:
> I think indices could be negative? so switch to using SConvert.
Yeah the semantics of std.index_cast requires sign extending : https://mlir.llvm.org/docs/Dialects/Standard/#stdindex_cast-indexcastop
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79644/new/
https://reviews.llvm.org/D79644
More information about the llvm-commits
mailing list