================ @@ -2239,16 +2249,18 @@ static OpFoldResult foldUnaryBitOp(mlir::Attribute inputAttr, llvm::function_ref<llvm::APInt(const llvm::APInt &)> func, bool poisonZero = false) { + if (mlir::isa_and_present<PoisonAttr>(inputAttr)) { ---------------- xlauko wrote:
```suggestion if (mlir::isa_and_present<cir::PoisonAttr>(inputAttr)) { ``` https://github.com/llvm/llvm-project/pull/150760 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits