[PATCH] Fold selects when the non-selected elements are undef from shufflevectors

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Fri May 2 16:32:26 PDT 2014


More fixes pointed by Benjamin Kramer.
Make the test-cases more strict w.r. to shufflevector mask.

http://reviews.llvm.org/D3561

Files:
  lib/Transforms/InstCombine/InstCombineSelect.cpp
  test/Transforms/InstCombine/select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3561.9049.patch
Type: text/x-patch
Size: 5523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140502/41279a57/attachment.bin>


More information about the llvm-commits mailing list