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

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 19 10:50:41 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 {
----------------
andykaylor wrote:

This is fine for now, but we might want to consider moving it to TargetLowering if other targets need something different.

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


More information about the cfe-commits mailing list