]> granicus.if.org Git - llvm/commit
[X86][SSE] Add support for PACKSS nodes to faux shuffle extraction
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Jun 2017 17:29:52 +0000 (17:29 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Jun 2017 17:29:52 +0000 (17:29 +0000)
commit727659d0c80ece9ead74d03f8430236b1b7f482d
treeee4b55c1fbd50e898f5a570c22c1db7158571451
parent1fb874b24cd0bbc4d55b1407015e40ae82f36295
[X86][SSE] Add support for PACKSS nodes to faux shuffle extraction

If the inputs won't saturate during packing then we can treat the PACKSS as a truncation shuffle

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305091 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-compare-results.ll