[all-commits] [llvm/llvm-project] 787202: [MLIR] Canonicalization of Integer Cast Operations
William Moses via All-commits
all-commits at lists.llvm.org
Sun May 2 08:28:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 78720296f3912b4095eafa5c1277646fd67bae99
https://github.com/llvm/llvm-project/commit/78720296f3912b4095eafa5c1277646fd67bae99
Author: William S. Moses <gh at wsmoses.com>
Date: 2021-05-02 (Sun, 02 May 2021)
Changed paths:
M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
M mlir/test/Dialect/Standard/canonicalize.mlir
Log Message:
-----------
[MLIR] Canonicalization of Integer Cast Operations
1) Canonicalize IndexCast(SExt(x)) => IndexCast(x)
2) Provide constant folds of sign_extend and truncate
Differential Revision: https://reviews.llvm.org/D101714
More information about the All-commits
mailing list