-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Closed
Labels
ClangIRAnything related to the ClangIR projectAnything related to the ClangIR project
Description
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
Metadata
Metadata
Assignees
Labels
ClangIRAnything related to the ClangIR projectAnything related to the ClangIR project