[all-commits] [llvm/llvm-project] 358d02: [MLIR][LLVM] Add simple folders for bitcast/addrsp...
William Moses via All-commits
all-commits at lists.llvm.org
Wed Jan 5 18:17:45 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 358d020017c346466c3b3eda0b89c3517c642ae3
https://github.com/llvm/llvm-project/commit/358d020017c346466c3b3eda0b89c3517c642ae3
Author: William S. Moses <gh at wsmoses.com>
Date: 2022-01-05 (Wed, 05 Jan 2022)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/test/Dialect/LLVMIR/canonicalize.mlir
Log Message:
-----------
[MLIR][LLVM] Add simple folders for bitcast/addrspacecast/gep
Add 5 simple folders
* bitcast(x : T0, T0) -> x
* addrcast(x : T0, T0) -> x
* bitcast(bitcast(x : T0, T1), T0) -> x
* addrcast(addrcast(x : T0, T1), T0) -> x
* gep %x:T, 0 -> %x:T
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D116715
More information about the All-commits
mailing list