[PATCH] Fold selects when the non-selected elements are undef from shufflevectors
Nadav Rotem
nrotem at apple.com
Fri May 2 23:55:46 PDT 2014
Hi Filipe,
We don’t generate new shufflevector instructions during optimizations because the lowering of shuffle instructions is really complicated and we don’t want to generate a shuffle that we don’t lower by accident.
Thanks,
Nadav
On May 2, 2014, at 4:34 PM, Filipe Cabecinhas <filcab+llvm.phabricator at gmail.com> wrote:
> Remove unused argument
>
> http://reviews.llvm.org/D3561
>
> Files:
> lib/Transforms/InstCombine/InstCombineSelect.cpp
> test/Transforms/InstCombine/select.ll
> <D3561.9050.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list