[llvm] [ELF] Add CPU name detection for CUDA architectures (PR #75964)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 19 15:34:36 PST 2023
================
@@ -517,6 +519,73 @@ StringRef ELFObjectFileBase::getAMDGPUCPUName() const {
}
}
+StringRef ELFObjectFileBase::getNVPTXCPUName() const {
----------------
jhuber6 wrote:
I wasn't sure which to call it. AMDGPU calls everything `processor` so I copied the format for the name here.
https://github.com/llvm/llvm-project/pull/75964
More information about the llvm-commits
mailing list