[clang] [Clang][AMDGPU] Handle builtin types more generically. NFC. (PR #109004)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 09:55:26 PDT 2024
================
@@ -3377,7 +3377,8 @@ static void encodeTypeForFunctionPointerAuth(const ASTContext &Ctx,
#include "clang/Basic/HLSLIntangibleTypes.def"
case BuiltinType::Dependent:
llvm_unreachable("should never get here");
- case BuiltinType::AMDGPUBufferRsrc:
+#define AMDGPU_TYPE(Name, Id, SingletonId) case BuiltinType::Id:
----------------
shiltian wrote:
Yeah, I was at the fence when I did this. :-)
https://github.com/llvm/llvm-project/pull/109004
More information about the cfe-commits
mailing list