[all-commits] [llvm/llvm-project] f383c5: [MachineSink] Compile time improvement for large t...

yubingex007-a11y via All-commits all-commits at lists.llvm.org
Mon Oct 18 00:46:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f383c533110664d41df51b08637df7243c4d6bf7
      https://github.com/llvm/llvm-project/commit/f383c533110664d41df51b08637df7243c4d6bf7
  Author: Bing1 Yu <bing1.yu at intel.com>
  Date:   2021-10-18 (Mon, 18 Oct 2021)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp

  Log Message:
  -----------
  [MachineSink] Compile time improvement for large testcases which has many kill flags

We did a experiment and observed dramatic decrease on compilation time which spent on clearing kill flags.
Before:
Number of BasicBlocks:33357
Number of Instructions:162067
Number of Cleared Kill Flags:32869
Time of handling kill flags(ms):1.607509e+05

After:
Number of BasicBlocks:33357
Number of Instructions:162067
Number of Cleared Kill Flags:32869
Time of handling kill flags:3.987371e+03

Reviewed By: MatzeB

Differential Revision: https://reviews.llvm.org/D111688




More information about the All-commits mailing list