mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
508c382080
Move shared offload globals and define per-kernel globals once This PR moves the shared LLVM global variables logic out of the `offload` intrinsic codegen and generates kernel-specific variables only ont he first call of the intrinsic. r? `@ZuseZ4` tracking: - https://github.com/rust-lang/rust/issues/131513