| Issue |
160385
|
| Summary |
[CIR] Upstream support for thread local variables
|
| Labels |
ClangIR
|
| Assignees |
|
| Reporter |
andykaylor
|
### Overview
Upstream support for handling thread local variables in CIR.
This is a somewhat large task that will require modifications to many existing pieces of code. The places where additional handling is needed are mostly marked by either `cir::MissingFeatures::opGlobalThreadLocal()`, `cir::MissingFeatures::opLoadStoreThreadLocal()`, or `cir::MissingFeatures::opAllocaTLS()` assertions.
### Suggested minimal test case
```
```
### Existing incubator tests
clang/test/CIR/CodeGen/tls.c
### Classic codegen tests that should be considered
clang/test/CodeGen/tls-model.cpp
clang/test/CodeGen/thread-specifier.c
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs