[clang] [CIR] Implement the 'rest' of the TLS Model types (PR #215380)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 10 16:49:23 PDT 2026
================
@@ -3371,7 +3381,7 @@ def CIR_GlobalOp : CIR_Op<"global", [
(`constant` $constant^)?
$linkage
(`comdat` $comdat^)?
- ($tls_model^)?
+ (` ` custom<TLSModel>($tls_model)^ )?
----------------
erichkeane wrote:
Yes, I believe so. We end up doing a somewhat different look if I do so, and it isn't super flexible. I'll do one that looks best for me, and let you decide if it is good enough. Patch incoming once I update all the tests.
https://github.com/llvm/llvm-project/pull/215380
More information about the cfe-commits
mailing list