[all-commits] [llvm/llvm-project] 003bca: [ARM] Always lower direct calls as direct when the...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Fri Sep 15 10:05:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 003bcad9a8b21e15e3786a52b1dafa844075ab84
      https://github.com/llvm/llvm-project/commit/003bcad9a8b21e15e3786a52b1dafa844075ab84
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/ARM/minsize-call-cse.ll
    M llvm/test/CodeGen/ARM/pr42062.ll

  Log Message:
  -----------
  [ARM] Always lower direct calls as direct when the outliner is enabled (#66434)

The indirect lowering hinders the outliner's ability to see that
sequences are in fact common, since the sequence similarity is rendered
opaque by the register callee. The size savings from making them
indirect seems to be dwarfed by the outliner's savings from
de-duplication.

rdar://115178034
rdar://115459865




More information about the All-commits mailing list