[all-commits] [llvm/llvm-project] 9ab732: [MLIR][TOSA] Add tosa.slice operation conversion f...

LiqinWeng via All-commits all-commits at lists.llvm.org
Mon Oct 9 20:39:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ab732f630de94aeac47d95a8d1e6093f432506e
      https://github.com/llvm/llvm-project/commit/9ab732f630de94aeac47d95a8d1e6093f432506e
  Author: LiqinWeng <liqin.weng at spacemit.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    M mlir/lib/Conversion/TosaToTensor/TosaToTensor.cpp
    A mlir/test/Conversion/TosaToTensor/tosa-to-tensor-invalid.mlir

  Log Message:
  -----------
  [MLIR][TOSA] Add tosa.slice operation conversion failure scenario (#68578)

Fixes #68481, In the following scenario, the conversion fails:
1. resultType of tosa.slice is UnrankedTensorType
2. tosa.slice.getsize().size() < resultType.getRank()




More information about the All-commits mailing list