]> granicus.if.org Git - llvm/commit
[X86] Pull out constant splat rotation detection.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 16 Dec 2018 19:46:04 +0000 (19:46 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 16 Dec 2018 19:46:04 +0000 (19:46 +0000)
commit032b00a5404865765cda7db3039f39d54964d8b0
tree83e2b56a195b0f8c8d969c57cf7e06689204636b
parent96b0ff50830ff229f456c7e0ec50ecc4e7ae7cdb
[X86] Pull out constant splat rotation detection.

We had 3 different approaches - consistently use getTargetConstantBitsFromNode and allow undef elts.

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