[clang] [CIR][NEON] Add lowering for `vnegd_s64` and `vnegh_f16` (PR #180597)

Andrzej WarzyƄski via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 10 04:29:12 PST 2026


================
@@ -375,19 +389,18 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
     llvm_unreachable("negation for the given type is NYI");
   }
 
-  cir::IsFPClassOp createIsFPClass(mlir::Location loc, mlir::Value src,
-                                   cir::FPClassTest flags) {
-    return cir::IsFPClassOp::create(*this, loc, src, flags);
-  }
+  mlir::Value createFNeg(mlir::Value value) {
----------------
banach-space wrote:

Thank you for the pointer, that's exactly what I was after!

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


More information about the cfe-commits mailing list