[llvm] [WebAssembly][FastISel] Omit redundant AND for zext of i8/i16 loads (PR #182240)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 19 10:16:05 PST 2026


================
@@ -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


More information about the llvm-commits mailing list