]> granicus.if.org Git - llvm/commit
[X86] SimplifyMultipleUseDemandedBits - target shuffles might not be identity
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Aug 2019 12:41:29 +0000 (12:41 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Aug 2019 12:41:29 +0000 (12:41 +0000)
commit78f5d0a929f1a891638ec8835deb157503f4ecd3
tree59465cea6f555eb72ddfcfeb612dbd362c72d9da
parent3a2fe1ca124234678d34f168496e086369f64b00
[X86] SimplifyMultipleUseDemandedBits - target shuffles might not be identity

If we don't demand any non-undef shuffle elements then the assert will fail as all shuffle inputs would still be flagged as 'identity' safe.

Exposed by an incoming patch.

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