]> granicus.if.org Git - llvm/commit
[TargetLowering] SimplifyMultipleUseDemandedBits - add BITCAST pass through support.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Jul 2019 08:38:39 +0000 (08:38 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 26 Jul 2019 08:38:39 +0000 (08:38 +0000)
commitb8ff25a9540e77a9e47972801aa72f28852ef319
tree0fe77b43cbf2ca5c3a55948e8fbf2a7d68758c69
parent7ef465876ad8200760986c9264dcc213067dbee0
[TargetLowering] SimplifyMultipleUseDemandedBits - add BITCAST pass through support.

This allows us to peek through BITCASTs and attempt simplify the source operand, and then bitcast back.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367091 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/X86/vector-reduce-umax.ll
test/CodeGen/X86/vector-reduce-umin.ll