[clang] [CIR] Use target int and size_t widths in cir.libc.memchr (PR #217153)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 18 19:47:20 PDT 2026
================
@@ -36,6 +36,12 @@ def CIR_Dialect : Dialect {
let extraClassDeclaration = [{
static llvm::StringRef getSourceLanguageAttrName() { return "cir.lang"; }
static llvm::StringRef getTripleAttrName() { return "cir.triple"; }
+ static llvm::StringRef getSizeTypeWidthAttrName() {
----------------
erichkeane wrote:
TBH, we should probably just tablegen these or something... not for this patch to do, but a macro or something with:
`WHATEVER_MACRO(SizeTypeWidth, cir.size_type_width)` probably needs to be the real answer :D
https://github.com/llvm/llvm-project/pull/217153
More information about the cfe-commits
mailing list