Skip to content

Commit 1f11bf6

Browse files
committed
Leave note to drop tgt_init_all_rtls in the future
1 parent 35ce8ab commit 1f11bf6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/rustc_codegen_llvm/src/builder/gpu_offload.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ pub(crate) struct OffloadGlobals<'ll> {
2929

3030
pub ident_t_global: &'ll llvm::Value,
3131

32+
// FIXME(offload): Drop this, once we fully automated our offload compilation pipeline, since
33+
// LLVM will initialize them for us if it sees gpu kernels being registered.
3234
pub init_rtls: &'ll llvm::Value,
3335
}
3436

0 commit comments

Comments
 (0)