[DAGCombiner] convert StoreSource if-chain to switch; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 17 Aug 2020 17:27:27 +0000 (13:27 -0400)
committerSanjay Patel <spatel@rotateright.com>
Mon, 17 Aug 2020 19:37:54 +0000 (15:37 -0400)
commit27708db3e38d43faf4c4de8550d97dd04bbeea86
tree4391cd0b40dae2957ca04ff515d6ac3e8b625668
parenta79e604462ea26c73b6869d71b41667819f90281
[DAGCombiner] convert StoreSource if-chain to switch; NFC

The "isa" checks were less constrained because they allow
target constants, but the later matching code would bail
out on those anyway, so this should be slightly more
efficient.
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp