[llvm] [ELF] Add CPU name detection for CUDA architectures (PR #75964)

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 15:09:57 PST 2023


================
@@ -517,6 +519,73 @@ StringRef ELFObjectFileBase::getAMDGPUCPUName() const {
   }
 }
 
+StringRef ELFObjectFileBase::getNVPTXCPUName() const {
----------------
jlebar wrote:

getNVPTXGPUName() or getNVPTXArchName()?

https://github.com/llvm/llvm-project/pull/75964


More information about the llvm-commits mailing list