[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)
commitb32ceb79b00a24312062b7d78ac29c0a3ba0cd8a
tree2772304f902ffcdd73a01dc7c5f34b7fda15efa1
parent20db94b7b3029426099a1dea6729f2b364a37f07
[TargetLowering] SimplifyMultipleUseDemandedBits - add BITCAST pass through support.

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

llvm-svn: 367091
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/test/CodeGen/X86/vector-reduce-umax.ll
llvm/test/CodeGen/X86/vector-reduce-umin.ll