This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Standardize order of SIMD bitselect arguments
ClosedPublic

Authored by tlively on Jan 7 2019, 2:07 PM.

Details

Summary

For some reason the backend assumed that the condition mask would be
the first argument to the LLVM intrinsic, but everywhere else the
condition mask is the third argument.

Diff Detail

Repository
rL LLVM

Event Timeline

tlively created this revision.Jan 7 2019, 2:07 PM

Any affected tests?

tlively updated this revision to Diff 180562.Jan 7 2019, 2:13 PM

Update tests

Any affected tests?

Yep, my bad. Fixed now.

aheejin accepted this revision.Jan 7 2019, 11:36 PM
This revision is now accepted and ready to land.Jan 7 2019, 11:36 PM
This revision was automatically updated to reflect the committed changes.