[clang] [CIR] Implement folder for VecTernaryOp (PR #142946)

Amr Hesham via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 5 14:48:18 PDT 2025


================
@@ -138,10 +138,10 @@ void CIRCanonicalizePass::runOnOperation() {
     assert(!cir::MissingFeatures::complexRealOp());
     assert(!cir::MissingFeatures::complexImagOp());
     assert(!cir::MissingFeatures::callOp());
-    // CastOp, UnaryOp, VecExtractOp and VecShuffleDynamicOp are here to perform
-    // a manual `fold` in applyOpPatternsGreedily.
+    // CastOp, UnaryOp, VecExtractOp, VecShuffleDynamicOp and VecTernaryOp are
+    // here to perform a manual `fold` in applyOpPatternsGreedily.
----------------
AmrDeveloper wrote:

Yes, you are right, i will convert it to general comment

https://github.com/llvm/llvm-project/pull/142946


More information about the cfe-commits mailing list