]> granicus.if.org Git - llvm/commit
[TargetLowering] SimplifyMultipleUseDemandedBits - return UNDEF for undemanded ops
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Aug 2019 14:30:42 +0000 (14:30 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Aug 2019 14:30:42 +0000 (14:30 +0000)
commit474f9965544bac11390b0519d4668aea25204bd7
treec644935435eb3c3eb859940148c245f646f80196
parentc5c3a34221aa3509655a1360b4c7e7733c142833
[TargetLowering] SimplifyMultipleUseDemandedBits - return UNDEF for undemanded ops

If we demand no bits/elts from an Op, just return UNDEF

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368043 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/packss.ll
test/CodeGen/X86/vector-idiv-udiv-128.ll
test/CodeGen/X86/vector-reduce-mul-widen.ll
test/CodeGen/X86/vector-reduce-mul.ll