[clang] [CIR] Introduce `cir.vec.fcmp` op and floating comparison kinds (PR #235843)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 5 06:55:16 PST 2026
================
@@ -4410,6 +4410,16 @@ OpFoldResult cir::VecCmpOp::fold(FoldAdaptor adaptor) {
getType(), mlir::ArrayAttr::get(getContext(), elements));
}
+//===----------------------------------------------------------------------===//
+// VecFCmpOp
+//===----------------------------------------------------------------------===//
+
+LogicalResult cir::VecFCmpOp::verify() {
+ if (!cir::isFPOrVectorOfFPType(getLhs().getType()))
----------------
Fznamznon wrote:
Yep, done in https://github.com/llvm/llvm-project/pull/235843/commits/ed56ececa29197d229da7ce1c0a36d7ee37cff30 , thanks
https://github.com/llvm/llvm-project/pull/235843
More information about the cfe-commits
mailing list