[clang] [CIR] Implement folder for VecCmpOp (PR #143322)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 9 11:13:35 PDT 2025
================
@@ -142,7 +142,7 @@ void CIRCanonicalizePass::runOnOperation() {
// Many operations are here to perform a manual `fold` in
// applyOpPatternsGreedily.
if (isa<BrOp, BrCondOp, CastOp, ScopeOp, SwitchOp, SelectOp, UnaryOp,
- VecExtractOp, VecShuffleDynamicOp, VecTernaryOp>(op))
+ VecExtractOp, VecShuffleDynamicOp, VecTernaryOp, VecCmpOp>(op))
----------------
andykaylor wrote:
Nit: Can you put these in lexical order?
https://github.com/llvm/llvm-project/pull/143322
More information about the cfe-commits
mailing list