[clang] [CIR] Model cir.is_fp_class flags as a bit-enum (PR #205941)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 26 06:25:11 PDT 2026
================
@@ -26,6 +26,12 @@ class CIR_I64EnumAttr<string name, string summary, list<I64EnumAttrCase> cases>
let cppNamespace = "::cir";
}
+class CIR_I32BitEnumAttr<string name, string summary,
----------------
erichkeane wrote:
Agreed, at the moment this doesn't add anything. I'd suggest just using the `I32BitEnumAttr` directly. We might care to audit the others here to see which add value... though `CIR_EnumAttr` at least changes the assembly format :)
https://github.com/llvm/llvm-project/pull/205941
More information about the cfe-commits
mailing list