Skip to content

Commit 3336352

Browse files
authored
[NFC][WebAssembly] Inline var only used in assertion (#113507)
1 parent 9ed6f7f commit 3336352

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,8 +1635,7 @@ SDValue WebAssemblyTargetLowering::LowerMUL_LOHI(SDValue Op,
16351635
SDValue WebAssemblyTargetLowering::Replace128Op(SDNode *N,
16361636
SelectionDAG &DAG) const {
16371637
assert(Subtarget->hasWideArithmetic());
1638-
auto ValTy = N->getValueType(0);
1639-
assert(ValTy == MVT::i128);
1638+
assert(N->getValueType(0) == MVT::i128);
16401639
SDLoc DL(N);
16411640
unsigned Opcode;
16421641
switch (N->getOpcode()) {

0 commit comments

Comments
 (0)