We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c0515 commit 53724d7Copy full SHA for 53724d7
clang/lib/CIR/CodeGen/TargetInfo.cpp
@@ -747,6 +747,7 @@ const TargetCIRGenInfo &CIRGenModule::getTargetCIRGenInfo() {
747
return SetCIRGenInfo(new SPIRVTargetCIRGenInfo(genTypes));
748
}
749
750
+ case llvm::Triple::nvptx:
751
case llvm::Triple::nvptx64: {
752
return SetCIRGenInfo(new NVPTXTargetCIRGenInfo(genTypes));
753
clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerModule.cpp
@@ -81,8 +81,11 @@ createTargetLoweringInfo(LowerModule &LM) {
81
82
case llvm::Triple::spirv64:
83
return createSPIRVTargetLoweringInfo(LM);
84
+
85
86
case llvm::Triple::nvptx64:
87
return createNVPTXTargetLoweringInfo(LM);
88
89
default:
90
cir_cconv_unreachable("ABI NYI");
91
0 commit comments