File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
test/CodeGen/SPIRV/inline Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -975,7 +975,7 @@ static TargetTypeInfo getTargetTypeInfo(const TargetExtType *Ty) {
975975 auto Size = Ty->getIntParameter (1 );
976976 auto Alignment = Ty->getIntParameter (2 );
977977
978- llvm::Type *LayoutType;
978+ llvm::Type *LayoutType = nullptr ;
979979 if (Size > 0 && Alignment > 0 ) {
980980 LayoutType =
981981 ArrayType::get (Type::getIntNTy (C, Alignment), Size * 8 / Alignment);
Original file line number Diff line number Diff line change 11; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
22
3+ ; TODO: enable spirv-val once we can add cooperative matrix capability and extension
4+
35; CHECK: [[float_t:%[0-9]+]] = OpTypeFloat 32
46; CHECK: [[uint32_t:%[0-9]+]] = OpTypeInt 32 0
57
You can’t perform that action at this time.
0 commit comments