Skip to content

Commit b357e0c

Browse files
committed
Remove outdated comment
1 parent c9cf689 commit b357e0c

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_codegen_llvm/src/back

1 file changed

+1
-2
lines changed

compiler/rustc_codegen_llvm/src/back/write.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,7 @@ pub(crate) unsafe fn llvm_optimize(
710710
if cgcx.target_is_like_gpu && config.offload.contains(&config::Offload::Enable) {
711711
let cx =
712712
SimpleCx::new(module.module_llvm.llmod(), module.module_llvm.llcx, cgcx.pointer_size);
713-
// For now we only support up to 10 kernels named kernel_0 ... kernel_9, a follow-up PR is
714-
// introducing a proper offload intrinsic to solve this limitation.
713+
715714
for func in cx.get_functions() {
716715
let offload_kernel = "offload-kernel";
717716
if attributes::has_string_attr(func, offload_kernel) {

0 commit comments

Comments
 (0)