[llvm-branch-commits] [clang] [CIR] Refactor floating point type constraints (PR #138112)

Henrich Lauko via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 1 23:21:32 PDT 2025


================
@@ -110,4 +110,35 @@ def CIR_AnyFundamentalSIntType
     let cppFunctionName = "isFundamentalSIntType";
 }
 
+//===----------------------------------------------------------------------===//
+// Float Type predicates
+//===----------------------------------------------------------------------===//
+
+def CIR_AnySingleType : CIR_TypeBase<"::cir::SingleType", "single float type">;
----------------
xlauko wrote:

I believe it used to make problems when core mlir dialects where included in out of tree projects/dialects.
Thats why entire mlir has explicit global scope, though I cannot remember the issue it was causing.

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


More information about the llvm-branch-commits mailing list