Skip to content

Commit

Permalink
[DXIL] Fix build warning (#90226)
Browse files Browse the repository at this point in the history
  • Loading branch information
farzonl committed Apr 26, 2024
1 parent 6904e0e commit d2caaab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ static bool expandIntegerDot(CallInst *Orig, Intrinsic::ID DotIntrinsic) {
: Intrinsic::dx_umad;
Value *A = Orig->getOperand(0);
Value *B = Orig->getOperand(1);
Type *ATy = A->getType();
Type *BTy = B->getType();
[[maybe_unused]] Type *ATy = A->getType();
[[maybe_unused]] Type *BTy = B->getType();
assert(ATy->isVectorTy() && BTy->isVectorTy());

IRBuilder<> Builder(Orig->getParent());
Expand Down

0 comments on commit d2caaab

Please sign in to comment.