[DAGCombiner] split trunc from extend in hoistLogicOpWithSameOpcodeHands; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 7 Dec 2018 18:51:08 +0000 (18:51 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 7 Dec 2018 18:51:08 +0000 (18:51 +0000)
commitbc47ff86fec7ecc4139a1bb17aaf50632ca43aa7
tree34fa3c0cf1d40cc502bbd1e1bffbfce5e47abfdb
parent9b8fdab26c7bb92b5b85fc17fb5249edc9f2bd94
[DAGCombiner] split trunc from extend in hoistLogicOpWithSameOpcodeHands; NFC

This duplicates several shared checks, but we need to split
this up to fix underlying bugs in smaller steps.

llvm-svn: 348627
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp