Skip to content

Commit b2345ea

Browse files
committed
Address PR reviews
1 parent fe2ee69 commit b2345ea

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,7 @@ WebAssemblyTargetLowering::WebAssemblyTargetLowering(
246246
MVT::v2f64})
247247
setOperationAction(ISD::SPLAT_VECTOR, T, Legal);
248248

249-
// Set avgceilu as legal for i8x16 and i16x8
250-
// and isel will convert to AVGR_U w/ tablegen
251-
setOperationAction({ISD::AVGCEILU}, {MVT::v8i16, MVT::v16i8}, Legal);
249+
setOperationAction(ISD::AVGCEILU, {MVT::v8i16, MVT::v16i8}, Legal);
252250

253251
// Custom lowering since wasm shifts must have a scalar shift amount
254252
for (auto Op : {ISD::SHL, ISD::SRA, ISD::SRL})

0 commit comments

Comments
 (0)