[PATCH] D141700: AMDGPU: Move enqueued block handling into clang

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 7 05:02:08 PDT 2023


barannikov88 added inline comments.


================
Comment at: clang/lib/CodeGen/Targets/AMDGPU.cpp:520
+static llvm::StructType *getAMDGPUKernelDescriptorType(llvm::LLVMContext &C) {
+  llvm::Type *Int8 = llvm::IntegerType::getInt8Ty(C);
+  llvm::Type *Int16 = llvm::IntegerType::getInt16Ty(C);
----------------
Minor suggestion: you can get these types from CGF / CGM (Int8Ty etc.)



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141700/new/

https://reviews.llvm.org/D141700



More information about the cfe-commits mailing list