commit | fa29fd677fd34327bb607a1e69dd0b25163d929b | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Mon Jul 09 16:16:51 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Mon Jul 09 16:16:51 2018 +0000 |
tree | 11dd09908d89b508845cc71a4951c8c59390b7f3 | |
parent | a7002f5758532c75a0c085ad46a99864c6fb950e [diff] |
[InstCombine] generalize safe vector constant utility This is almost NFC, but there could be some case where the original code had undefs in the constants (rather than just the shuffle mask), and we'll use safe constants rather than undefs now. The FIXME noted in foldShuffledBinop() is already visible in existing tests, so correcting that is the next step. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336558 91177308-0d34-0410-b5e6-96231b3b80d8