OSDN Git Service

[X86] Add widenSubVector to size in bits helper. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 1 Jul 2019 16:20:47 +0000 (16:20 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 1 Jul 2019 16:20:47 +0000 (16:20 +0000)
commit60235d0ed6b0cdacffa64af36928655f9502a1a1
treecb1319c28f413dfdacd24f22679f7a2ae4207859
parent8d62be14dc583e4f1e2e79d56b396261f64b8fd5
[X86] Add widenSubVector to size in bits helper. NFCI.

We can already widenSubVector to a specific type (of the same scalar type) - this variant just specifies the target vector size.

This will be useful when CombineShuffleWithExtract relaxes the need to have the same scalar type for all shuffle operand subvector sources.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364803 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp