HomePhabricator

[PowerPC] Legalize saturating vector add/sub

Authored by nemanjai on Jan 15 2020, 5:00 AM.

Description

[PowerPC] Legalize saturating vector add/sub

These intrinsics and the corresponding ISD nodes were recently added. PPC has
instructions that do this for vectors. Legalize them and add patterns to emit
the satuarting instructions.

Differential revision: https://reviews.llvm.org/D71940

Details

Committed
nemanjaiJan 15 2020, 5:00 AM
Differential Revision
D71940: [PowerPC] Legalize saturating vector add/sub
Parents
rG5852475e2c04: Bump the trunk major version to 11
Branches
Unknown
Tags
Unknown