HomePhabricator

[x86] Refactor a PowerPC specific ctlz/srl transformation (NFC).

Description

[x86] Refactor a PowerPC specific ctlz/srl transformation (NFC).

Following the discussion on D22038, this refactors a PowerPC specific setcc -> srl(ctlz) transformation so it can be used by other targets.

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

Details

Committed
pgousseauAug 16 2016, 6:53 AM
Differential Revision
D23445: [x86] Refactor a PowerPC specific ctlz/srl transformation (NFC).
Parents
rL278798: [X86][AVX] Fixed typo in zero element insertion
Branches
Unknown
Tags
Unknown