HomePhabricator

[InstCombine] allow more binop (shuffle X), C transforms

Description

[InstCombine] allow more binop (shuffle X), C transforms

The canonicalization was restricted to shuffle masks with
a 1-to-1 mapping to the constant vector, but that disqualifies
the common splat pattern. This is part of solving PR37463:
https://bugs.llvm.org/show_bug.cgi?id=37463

Details

Committed
spatelMay 16 2018, 8:15 AM
Parents
rL332478: [sanitizer] Minor 32-bit primary improvements
Branches
Unknown
Tags
Unknown