[DAGCombiner] unify type checks and add asserts; NFCI
authorSanjay Patel <spatel@rotateright.com>
Wed, 29 Mar 2017 18:08:01 +0000 (18:08 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 29 Mar 2017 18:08:01 +0000 (18:08 +0000)
commitff211bb5a6cbbd52adc2618bcf0f29550207f670
treea3373ba6e0fec6baecd31823a7da5f887bd43761
parent317b931823b2d25958c57c463a051a1f6fb399ea
[DAGCombiner] unify type checks and add asserts; NFCI

We had a mix of type checks and usage that wasn't very clear.

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