[PATCH] D146057: [CodeGen] Speedup stack slot sharing during stack coloring (interval overlapping test).

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 19 00:51:52 PDT 2023


vpykhtin updated this revision to Diff 506355.
vpykhtin added a comment.

Tried version with LiveIntervalUnion but it works slightly slower than first:

  ~4.2 vs ~3 seconds per pass on my testcase.

There're 48005704 overlap tests and 277607 interval joins in my testcase so it
looks like LiveRange::overlaps works faster than LiveIntervalUnion::Query::checkInterference.

Not sure which version to choose.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146057/new/

https://reviews.llvm.org/D146057

Files:
  llvm/lib/CodeGen/StackSlotColoring.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146057.506355.patch
Type: text/x-patch
Size: 4293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230319/d6e579e1/attachment.bin>


More information about the llvm-commits mailing list