HomePhabricator

[InstCombine] Generalize sdiv exact X, 1<<C --> ashr exact X, C fold to…

Authored by lebedev.ri on Aug 6 2020, 10:18 AM.

Description

[InstCombine] Generalize sdiv exact X, 1<<C --> ashr exact X, C fold to handle non-splat vectors

Details

Committed
lebedev.riAug 6 2020, 1:37 PM
Parents
rG8633a0d985f1: [NFC][InstCombine] Better tests for x s/EXACT (1 << y) pattern
Branches
Unknown
Tags
Unknown