File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -656,6 +656,7 @@ void LLVMToSPIRV::transVectorComputeMetadata(Function *F) {
656
656
if (Attrs.hasAttribute (AttributeList::ReturnIndex,
657
657
kVCMetadata ::VCSingleElementVector)) {
658
658
auto *RT = BF->getType ();
659
+ (void )RT;
659
660
assert ((RT->isTypeBool () || RT->isTypeFloat () || RT->isTypeInt () ||
660
661
RT->isTypePointer ()) &&
661
662
" This decoration is valid only for Scalar or Pointer types" );
@@ -675,6 +676,7 @@ void LLVMToSPIRV::transVectorComputeMetadata(Function *F) {
675
676
}
676
677
if (Attrs.hasAttribute (ArgNo + 1 , kVCMetadata ::VCSingleElementVector)) {
677
678
auto *AT = BA->getType ();
679
+ (void )AT;
678
680
assert ((AT->isTypeBool () || AT->isTypeFloat () || AT->isTypeInt () ||
679
681
AT->isTypePointer ()) &&
680
682
" This decoration is valid only for Scalar or Pointer types" );
You can’t perform that action at this time.
0 commit comments