about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/abi.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-09 23:05:51 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-09 23:14:55 -0800
commite11e2b4d091635fad78d25c9ba444627ca094677 (patch)
treee1bdc095755f8d5a0238b417a7b846b6e8e94f2d /compiler/rustc_codegen_llvm/src/abi.rs
parent124cc92199ffa924f6b4c7cc819a85b65e0c3984 (diff)
downloadrust-e11e2b4d091635fad78d25c9ba444627ca094677.tar.gz
rust-e11e2b4d091635fad78d25c9ba444627ca094677.zip
compiler: internally merge `Conv::PtxKernel` into `GpuKernel`
It is speculated that these two can be conceptually merged, and it can
start by ripping out rustc's notion of the PtxKernel call convention.
Leave the ExternAbi for now, but the nvptx target now should see it as
just a different way to spell Conv::GpuKernel.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/abi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/abi.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/abi.rs b/compiler/rustc_codegen_llvm/src/abi.rs
index 685b2f37c9c..e575e9830ac 100644
--- a/compiler/rustc_codegen_llvm/src/abi.rs
+++ b/compiler/rustc_codegen_llvm/src/abi.rs
@@ -687,7 +687,6 @@ impl llvm::CallConv {
             Conv::AvrNonBlockingInterrupt => llvm::AvrNonBlockingInterrupt,
             Conv::ArmAapcs => llvm::ArmAapcsCallConv,
             Conv::Msp430Intr => llvm::Msp430Intr,
-            Conv::PtxKernel => llvm::PtxKernel,
             Conv::X86Fastcall => llvm::X86FastcallCallConv,
             Conv::X86Intr => llvm::X86_Intr,
             Conv::X86Stdcall => llvm::X86StdcallCallConv,