llvm-project
7cfe30df - [TableGen] Short-circuit !cond operator (#208942)

Commit
5 days ago
[TableGen] Short-circuit !cond operator (#208942) Fixes #163213 TableGen `!cond` operator currently resolves all subsequent conditions and values even if it already found a condition that resolves to `true`. This change short-circuits on the first `true` resolution found iterating from left to right. It folds a new `CondOpInit` with only the conditions and values that have already been resolved, including the current condition and value.
Author
Parents
Loading