Skip to content

Commit d2caaab

Browse files
authored
[DXIL] Fix build warning (#90226)
1 parent 6904e0e commit d2caaab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ static bool expandIntegerDot(CallInst *Orig, Intrinsic::ID DotIntrinsic) {
7777
: Intrinsic::dx_umad;
7878
Value *A = Orig->getOperand(0);
7979
Value *B = Orig->getOperand(1);
80-
Type *ATy = A->getType();
81-
Type *BTy = B->getType();
80+
[[maybe_unused]] Type *ATy = A->getType();
81+
[[maybe_unused]] Type *BTy = B->getType();
8282
assert(ATy->isVectorTy() && BTy->isVectorTy());
8383

8484
IRBuilder<> Builder(Orig->getParent());

0 commit comments

Comments
 (0)