[all-commits] [llvm/llvm-project] b6043f: [RA] Disable split around hint register if optimiz...

weiguozhi via All-commits all-commits at lists.llvm.org
Wed Oct 11 14:57:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6043f98673e33f17564dd240be3878c61e22333
      https://github.com/llvm/llvm-project/commit/b6043f98673e33f17564dd240be3878c61e22333
  Author: weiguozhi <57237827+weiguozhi at users.noreply.github.com>
  Date:   2023-10-11 (Wed, 11 Oct 2023)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/test/CodeGen/ARM/thumb2-size-opt.ll
    A llvm/test/CodeGen/X86/no-split-size.ll
    M llvm/test/DebugInfo/ARM/sdag-split-arg.ll

  Log Message:
  -----------
  [RA] Disable split around hint register if optimize for size (#68619)

Split a virtual register with hint may generate COPY instructions in
multiple cold basic blocks, and increase code size. So disable this
split when the function is optimized for size.




More information about the All-commits mailing list