This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch manylinux-ci-836
in repository https://gitbox.apache.org/repos/asf/tvm-tirx.git
The following commit(s) were added to refs/heads/manylinux-ci-836 by this push:
new e82bde32c [FIX] Value-initialize negation rewrite pattern variables
e82bde32c is described below
commit e82bde32c26c4adcb9cb4a40792c7d1f537e119c
Author: Tianqi Chen <[email protected]>
AuthorDate: Sun Oct 25 03:00:43 2026 +0000
[FIX] Value-initialize negation rewrite pattern variables
---
src/sym/rewrite_simplify.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sym/rewrite_simplify.cc b/src/sym/rewrite_simplify.cc
index 2d7b5d9af..2c39c233b 100644
--- a/src/sym/rewrite_simplify.cc
+++ b/src/sym/rewrite_simplify.cc
@@ -1970,7 +1970,7 @@ UnchangedOr<PrimExpr>
RewriteSimplifier::Impl::Mutate_(const prim::NotObj* op,
PrimExpr RewriteSimplifier::Impl::ApplyRewriteRules(prim::Not ret, InplaceMode
inplace_mode) {
// Pattern var to match any expression
- PVar<PrimExpr> x, y;
+ PVar<PrimExpr> x{}, y{};
PVar<PrimExpr> lanes;
if (IsVectorExpr(ret.get())) {
TVM_TRY_REWRITE(!broadcast(x, lanes), broadcast(!x, lanes));