[all-commits] [llvm/llvm-project] 27708d: [DAGCombiner] convert StoreSource if-chain to swit...

RotateRight via All-commits all-commits at lists.llvm.org
Mon Aug 17 12:45:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 27708db3e38d43faf4c4de8550d97dd04bbeea86
      https://github.com/llvm/llvm-project/commit/27708db3e38d43faf4c4de8550d97dd04bbeea86
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list