[clang] [CIR] Implement TernaryOp for Vec in OpenCL (PR #196836)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri May 15 12:55:10 PDT 2026
================
@@ -2778,7 +2778,29 @@ mlir::Value ScalarExprEmitter::VisitAbstractConditionalOperator(
if (cgf.getLangOpts().OpenCL &&
(condType->isVectorType() || condType->isExtVectorType())) {
assert(!cir::MissingFeatures::vectorType());
- cgf.cgm.errorNYI(e->getSourceRange(), "OpenCL vector ternary op");
+
----------------
andykaylor wrote:
```suggestion
assert(!cir::MissingFeatures::incrementProfileCounter());
```
https://github.com/llvm/llvm-project/pull/196836
More information about the cfe-commits
mailing list