Skip to content
Unverified Commit c17aa14f authored by Xiangxi Guo (Ryan)'s avatar Xiangxi Guo (Ryan) Committed by GitHub
Browse files

[mlir][index] Fold `cmp(x, x)` when `x` isn't a constant (#78812)

Such cases show up in the middle of optimizations passes, e.g., after
some rewrites and then CSE. The current folder can fold such cases when
the inputs are constant; this patch improves it to fold even if the
inputs are non-constant.
parent b86d0237
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment