This is an archive of the discontinued LLVM Phabricator instance.

[libcxx] In <experimental/simd>, optimize masked div and rem.
Needs ReviewPublic

Authored by timshen on Mar 19 2018, 5:45 PM.

Details

Summary

This optimization is allowed by the semantics, as users shouldn't pass
in values that may cause undefined behavior even those values are masked.