[all-commits] [llvm/llvm-project] 2af1dc: [mlir][EmitC] Remove Pure trait from `emitc.include`
Chris via All-commits
all-commits at lists.llvm.org
Tue Jan 17 09:04:30 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2af1dc7071ff9a49552160ab03e1422a5daa830e
https://github.com/llvm/llvm-project/commit/2af1dc7071ff9a49552160ab03e1422a5daa830e
Author: Christopher Bate <cbate at nvidia.com>
Date: 2023-01-17 (Tue, 17 Jan 2023)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/test/Dialect/EmitC/ops.mlir
Log Message:
-----------
[mlir][EmitC] Remove Pure trait from `emitc.include`
The op `emitc.include` does not have results and thus will be elided
during canonicalization, which is not correct behavior. This change
removes the 'Pure' trait and adds a canonicalization test.
Reviewed By: jpienaar, marbre
Differential Revision: https://reviews.llvm.org/D141704
More information about the All-commits
mailing list