[clang] [CIR][CUDA] Support built-in CUDA texture type (PR #214781)

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 21 06:23:35 PDT 2026


================
@@ -3861,6 +3694,9 @@ static void prepareTypeConverter(mlir::LLVMTypeConverter &converter,
     assert(!cir::MissingFeatures::addressSpace());
     return mlir::LLVM::LLVMPointerType::get(type.getContext());
   });
+  converter.addConversion([&](cir::CUDADeviceTextureType type) -> mlir::Type {
----------------
Siya-05 wrote:

Thanks @andykaylor! Also, regarding the surface type, should I make the corresponding higher-level CIR type change in a separate follow-up PR?

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


More information about the cfe-commits mailing list