[llvm] [TableGen] Avoid evaluating RHS of a BinOp until short-circuit is complete (PR #144021)
Min-Yih Hsu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 10:27:17 PDT 2025
================
@@ -1577,6 +1576,8 @@ const Init *BinOpInit::resolveReferences(Resolver &R) const {
}
}
+ const Init *rhs = RHS->resolveReferences(R);
+
----------------
mshockwave wrote:
Yeah I was thinking about the same thing. It's fixed now.
https://github.com/llvm/llvm-project/pull/144021
More information about the llvm-commits
mailing list