]> granicus.if.org Git - llvm/commit
[X86][SSE] combineBitcastvxi1 - add support for bitcasting to non-scalar integers
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 25 Apr 2019 09:34:36 +0000 (09:34 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 25 Apr 2019 09:34:36 +0000 (09:34 +0000)
commitd6778e97e073eeca8176f9ea404c15f015e4cc4c
treeff49e7fdf4f4613a670a54312dc0f6a20f26aa74
parent4021ab72ee33ed1357cc553526d0f603d25a7a10
[X86][SSE] combineBitcastvxi1 - add support for bitcasting to non-scalar integers

Truncate the movmsk scalar integer result to the equivalent scalar integer width as before but then bitcast to the requested type.

We still have the issue identified in PR41594 but D61114 should handle this.

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