OSDN Git Service

[X86][AVX] combineBitcastvxi1 - peek through bitops to determine size of original...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 26 May 2019 10:54:23 +0000 (10:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 26 May 2019 10:54:23 +0000 (10:54 +0000)
commit7cf3718080b714f39d202520671a338b9508b53c
treea576cb92cc7fe7913d130c9ed31918e1558195ca
parentbdde755dcab821a4d6a32b445294b14ec4308015
[X86][AVX] combineBitcastvxi1 - peek through bitops to determine size of original vector

We were only testing for direct SETCC results - this allows us to peek through AND/OR/XOR combinations of the comparison results as well.

There's a missing SEXT(PACKSS) fold that I need to investigate for v8i1 cases before I can enable it there as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361716 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/bitcast-and-setcc-256.ll