Skip to content

Commit

Permalink
Fix Wunused-variable warning. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Oct 9, 2023
1 parent e0809bd commit 29b2082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10866,7 +10866,7 @@ calculateSrcByte(const SDValue Op, uint64_t DestByte, uint64_t SrcIndex = 0,
}

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

0 comments on commit 29b2082

Please sign in to comment.