[all-commits] [llvm/llvm-project] e04f4c: [mlir][tosa] Add check for invalid tosa.rescale pa...
Jerry-Ge via All-commits
all-commits at lists.llvm.org
Wed Mar 5 08:34:02 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e04f4cce85e08760d513abca4276542aa1363593
https://github.com/llvm/llvm-project/commit/e04f4cce85e08760d513abca4276542aa1363593
Author: Jerry-Ge <jerry.ge at arm.com>
Date: 2025-03-05 (Wed, 05 Mar 2025)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/Utils/QuantUtils.h
M mlir/lib/Dialect/Tosa/Utils/QuantUtils.cpp
M mlir/test/lib/Dialect/Tosa/TosaTestPasses.cpp
Log Message:
-----------
[mlir][tosa] Add check for invalid tosa.rescale parameters (#129606)
* mlir::tosa::computeMultiplierAndShift returns a boolean, depending on
validity of the shift value
Signed-off-by: Jerry Ge <jerry.ge at arm.com>
Co-authored-by: Tom Allsop <tom.allsop 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