[clang] [CIR] Lower vector integer/float to bool casts (PR #203397)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 15 12:00:05 PDT 2026


================
@@ -539,6 +539,11 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
         castKind = cir::CastKind::integral;
       else if (mlir::isa<cir::FPTypeInterface>(dstTy))
         castKind = cir::CastKind::int_to_float;
+      else if (mlir::isa<cir::BoolType>(dstTy))
+        // Reached for vector-to-vector conversions whose element type is
----------------
adams381 wrote:

Dropped.

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


More information about the cfe-commits mailing list