[all-commits] [llvm/llvm-project] 6b3c9e: [X86] Speed up X86 Domain Reassignment pass by ear...

weiguozhi via All-commits all-commits at lists.llvm.org
Wed Sep 18 09:12:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b3c9e5c20e36d7c8a0dbabd9e71be8522d2dde4
      https://github.com/llvm/llvm-project/commit/6b3c9e5c20e36d7c8a0dbabd9e71be8522d2dde4
  Author: weiguozhi <57237827+weiguozhi at users.noreply.github.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86DomainReassignment.cpp

  Log Message:
  -----------
  [X86] Speed up X86 Domain Reassignment pass by early return (#108108)

Current implementation of X86 Domain Reassignment pass is finding out
the complete closure of a general register, then check if it's possible
to change the domain. It causes compile time issue when compiling large
functions. This patch checks the possibility of change domain in the
process of constructing closure, if it's illegal to change domain, we
can return immedietely.

For one of our large files, it reduced X86 Domain Reassignment pass time
from 200+ seconds to less than 1s.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list