================
@@ -465,6 +465,8 @@ unsigned WebAssemblyFastISel::zeroExtendToI32(unsigned Reg, const Value *V,
break;
case MVT::i8:
case MVT::i16:
+ if (isa<LoadInst>(V))
----------------
ParkHanbum wrote:
thanks!
https://github.com/llvm/llvm-project/pull/182240