[llvm] [WebAssembly] Add support for avgr_u in loops (PR #153252)
Jasmine Tang via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 14 13:43:34 PDT 2025
================
@@ -246,6 +246,10 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering(
MVT::v2f64})
setOperationAction(ISD::SPLAT_VECTOR, T, Legal);
+ // Set avgceilu as legal for i8x16 and i16x8
+ // and isel will convert to AVGR_U w/ tablegen
----------------
badumbatish wrote:
sounds good
https://github.com/llvm/llvm-project/pull/153252
More information about the llvm-commits
mailing list