Skip to content

Commit

Permalink
[NFC][WebAssembly] Inline var only used in assertion (#113507)
Browse files Browse the repository at this point in the history
  • Loading branch information
rupprecht authored Oct 23, 2024
1 parent 9ed6f7f commit 3336352
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1635,8 +1635,7 @@ SDValue WebAssemblyTargetLowering::LowerMUL_LOHI(SDValue Op,
SDValue WebAssemblyTargetLowering::Replace128Op(SDNode *N,
SelectionDAG &DAG) const {
assert(Subtarget->hasWideArithmetic());
auto ValTy = N->getValueType(0);
assert(ValTy == MVT::i128);
assert(N->getValueType(0) == MVT::i128);
SDLoc DL(N);
unsigned Opcode;
switch (N->getOpcode()) {
Expand Down

0 comments on commit 3336352

Please sign in to comment.