[all-commits] [llvm/llvm-project] 3b9526: [TOSA] bug fix infer shape for slice (#108306)
Tai Ly via All-commits
all-commits at lists.llvm.org
Tue Oct 22 20:26:03 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3b9526b231b17845c8812b3c5650f4346cd40a87
https://github.com/llvm/llvm-project/commit/3b9526b231b17845c8812b3c5650f4346cd40a87
Author: Tai Ly <tai.ly at arm.com>
Date: 2024-10-23 (Wed, 23 Oct 2024)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/test/Dialect/Tosa/tosa-infer-shapes.mlir
Log Message:
-----------
[TOSA] bug fix infer shape for slice (#108306)
This fixes the infer output shape of TOSA slice op for start/size values
that are out-of-bound or -1
added tests to check:
- size = -1
- size is out of bound
- start is out of bound
Signed-off-by: Tai Ly <tai.ly at arm.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list