[all-commits] [llvm/llvm-project] 70ec2e: [MLIR] Fix type incompatibility in BitcastOp fold ...
Vadim Curcă via All-commits
all-commits at lists.llvm.org
Fri Jan 31 05:54:11 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 70ec2e4a2bf1a17c6f57eaf30b48e6c4523be25a
https://github.com/llvm/llvm-project/commit/70ec2e4a2bf1a17c6f57eaf30b48e6c4523be25a
Author: Vadim Curcă <80581374+VadimCurca at users.noreply.github.com>
Date: 2025-01-31 (Fri, 31 Jan 2025)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Arith/canonicalize.mlir
Log Message:
-----------
[MLIR] Fix type incompatibility in BitcastOp fold (#125193)
This commit fixes a bug in the `arith::BitcastOp::fold` function where a
poisoned constant value was incorrectly cast to `IntegerAttr`, causing a
`cast<Ty>() argument of incompatible type!` error.
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