[PATCH] D108099: [WIP][Attributor] Run Attributor in stages.

Kuter Dinel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 15 21:36:49 PDT 2021


kuter added a comment.

With the patch:

  $ time opt -attributor test-suite/CTMark/sqlite3/sqlite3.mem2reg.ll 
  
  real	0m25.499s
  user	0m25.392s
  sys	0m0.107s

With out the patch:

  $ time opt -attributor test-suite/CTMark/sqlite3/sqlite3.mem2reg.ll 
  real	0m22.850s
  user	0m22.739s
  sys	0m0.111s

I did this test multiple times. This patch makes the result 2-3 seconds slower.
It might be because of having to go over all functions again in the second seeding stage.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108099



More information about the llvm-commits mailing list