HomePhabricator

[X86] Make use of vpmovwb when possible in LowerMULH

Description

[X86] Make use of vpmovwb when possible in LowerMULH

If we have BWI, we can truncate in a much simpler way by using vpmovwb. This even works without VLX by using the wider zmm->ymm truncate with a subvector extract.

Differential Revision: https://reviews.llvm.org/D38375

Details

Committed
ctopperSep 28 2017, 1:10 PM
Differential Revision
D38375: [X86] Make use of vpmovwb when possible in LowerMULH
Parents
rL314456: Add Documentation to attribute-nothrow. Additionally, limit to functions.
Branches
Unknown
Tags
Unknown