HomePhabricator

[InstCombine] Add tests for mul(add(x,c),negpow2) -> mul(sub(-c,x),pow2) fold

Authored by RKSimon on Aug 6 2020, 9:13 AM.

Description

[InstCombine] Add tests for mul(add(x,c),negpow2) -> mul(sub(-c,x),pow2) fold

Also fix some undef vector elements in the similar vector tests that I missed.

Details

Committed
RKSimonAug 6 2020, 9:13 AM
Parents
rG87fb7aa137ea: [llvm][MLInliner] Don't log 'mandatory' events
Branches
Unknown
Tags
Unknown