[llvm] [WebAssembly][FastISel] Emit signed loads for sext of i8/i16/i32 (PR #182333)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 20 05:03:21 PST 2026


================
@@ -1281,23 +1281,54 @@ bool WebAssemblyFastISel::selectLoad(const Instruction *I) {
     return false;
 
   // TODO: Fold a following sign-/zero-extend into the load instruction.
----------------
ParkHanbum wrote:

maybe more work is needed to do the zero-extend fold.

https://github.com/llvm/llvm-project/pull/182333


More information about the llvm-commits mailing list