[all-commits] [llvm/llvm-project] 9bfd0f: [mlir][emitc] Fix hasSideEffects of emitc.cast (#2...
Longsheng Mou via All-commits
all-commits at lists.llvm.org
Thu Jul 9 23:29:01 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9bfd0ff9143d96c249e55180b0bfe0e39516cc81
https://github.com/llvm/llvm-project/commit/9bfd0ff9143d96c249e55180b0bfe0e39516cc81
Author: Longsheng Mou <longshengmou at gmail.com>
Date: 2026-07-10 (Fri, 10 Jul 2026)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/test/Target/Cpp/expressions.mlir
Log Message:
-----------
[mlir][emitc] Fix hasSideEffects of emitc.cast (#208607)
When `pure` attribute is set, the cast op is side-effect-free, so we
should return false in `hasSideEffects` method.
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