[InstCombine] try to reduce more shuffles with bitcasted operand
authorSanjay Patel <spatel@rotateright.com>
Tue, 14 Apr 2020 18:41:35 +0000 (14:41 -0400)
committerSanjay Patel <spatel@rotateright.com>
Tue, 14 Apr 2020 19:03:59 +0000 (15:03 -0400)
commit6a7e958a423ed1d33b42cfb10563a46ccc07f44d
tree7187f9f5f08531da9e1a948dd0c9bc65b4c09dcc
parent35bbf3bb7168a3d8062500b63af87079f6519794
[InstCombine] try to reduce more shuffles with bitcasted operand

This is the widen mask element sibling to D76844.

shuf (bitcast X), undef, Mask --> bitcast X'

http://volta.cs.utah.edu:8080/z/4dt3V8
llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
llvm/test/Transforms/InstCombine/shufflevec-bitcast.ll