Skip to content

Commit 29b2082

Browse files
committed
Fix Wunused-variable warning. NFC.
1 parent e0809bd commit 29b2082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10866,7 +10866,7 @@ calculateSrcByte(const SDValue Op, uint64_t DestByte, uint64_t SrcIndex = 0,
1086610866
}
1086710867

1086810868
default: {
10869-
if (auto A = dyn_cast<AtomicSDNode>(Op) || Op->isMemIntrinsic()) {
10869+
if (isa<AtomicSDNode>(Op) || Op->isMemIntrinsic()) {
1087010870
// If this causes us to throw away signedness info, then fail.
1087110871
if (IsSigned)
1087210872
return std::nullopt;

0 commit comments

Comments
 (0)