File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -42,10 +42,6 @@ cir::TypeEvaluationKind CIRGenFunction::getEvaluationKind(QualType type) {
42
42
#include " clang/AST/TypeNodes.inc"
43
43
llvm_unreachable (" non-canonical or dependent type in IR-generation" );
44
44
45
- case Type::ArrayParameter:
46
- case Type::HLSLAttributedResource:
47
- llvm_unreachable (" NYI" );
48
-
49
45
case Type::Auto:
50
46
case Type::DeducedTemplateSpecialization:
51
47
llvm_unreachable (" undeduced type in IR-generation" );
@@ -66,6 +62,8 @@ cir::TypeEvaluationKind CIRGenFunction::getEvaluationKind(QualType type) {
66
62
case Type::ObjCObjectPointer:
67
63
case Type::Pipe:
68
64
case Type::BitInt:
65
+ case Type::HLSLAttributedResource:
66
+ case Type::HLSLInlineSpirv:
69
67
return cir::TEK_Scalar;
70
68
71
69
// Complexes.
@@ -79,6 +77,7 @@ cir::TypeEvaluationKind CIRGenFunction::getEvaluationKind(QualType type) {
79
77
case Type::Record:
80
78
case Type::ObjCObject:
81
79
case Type::ObjCInterface:
80
+ case Type::ArrayParameter:
82
81
return cir::TEK_Aggregate;
83
82
84
83
// We operate on atomic values according to their underlying type.
You can’t perform that action at this time.
0 commit comments