[llvm] [WebAssembly][FastISel] Omit redundant AND for zext of i8/i16 loads (PR #182240)
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 19 09:05:43 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))
----------------
dschuff wrote:
Oh ok it looks like FastISel never generates loadN_s. This should be fine then.
https://github.com/llvm/llvm-project/pull/182240
More information about the llvm-commits
mailing list