[PATCH] D60133: [DAGCombiner] Improve detection of unmergable stores, based on type size (WIP)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 2 08:45:47 PDT 2019


fhahn created this revision.
fhahn added a reviewer: niravd.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Note: this is WIP, there is still one case where we exit early
unnecessarily.

By constructing the VT for a merged store upfront and using that to
check if merging is legal, we can exit early in some more cases.

This speeds up some variations of PR41263, where we have lots of i64
stores.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D60133

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60133.193300.patch
Type: text/x-patch
Size: 4587 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190402/b588ab93/attachment.bin>


More information about the llvm-commits mailing list