[all-commits] [llvm/llvm-project] 3afd35: [mlir][arith] Support wide int cast emulation
Jakub Kuderski via All-commits
all-commits at lists.llvm.org
Thu Sep 15 08:37:05 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3afd351b5fd9006932857a6daf42cbd1c79c4a22
https://github.com/llvm/llvm-project/commit/3afd351b5fd9006932857a6daf42cbd1c79c4a22
Author: Jakub Kuderski <kubak at google.com>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M mlir/lib/Dialect/Arithmetic/Transforms/EmulateWideInt.cpp
M mlir/test/Dialect/Arithmetic/emulate-wide-int.mlir
Log Message:
-----------
[mlir][arith] Support wide int cast emulation
Add support for `arith.extsi`, `arith.extui`, and `arith.trunci` ops.
Tested by checking the results for all 16-bit inputs when emulating i16 with i8.
Reviewed By: antiagainst, Mogball
Differential Revision: https://reviews.llvm.org/D133612
More information about the All-commits
mailing list