OSDN Git Service

[X86][SSE] Combine EXTRACT_VECTOR_ELT with combineExtractWithShuffle before XFormVExt...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 6 Nov 2017 14:34:19 +0000 (14:34 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 6 Nov 2017 14:34:19 +0000 (14:34 +0000)
commit6e1c5e0143d4b2c2ff3b0a78f65475af9e72a527
treeba6e0130a10261df64bd75cc9a331dcaeda6d635
parentec1f0cc416ae2e6bb2b6b64b08e823b99b36c38b
[X86][SSE] Combine EXTRACT_VECTOR_ELT with combineExtractWithShuffle before XFormVExtractWithShuffleIntoLoad

combineExtractWithShuffle can handle more complex shuffles/bitcasts than we can with the equivalent code in XFormVExtractWithShuffleIntoLoad.

Mainly a compile time improvement now (combineExtractWithShuffle combines will have always failed late on inside XFormVExtractWithShuffleIntoLoad), and will let us merge combineExtractVectorElt_SSE in a future commit.

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