[all-commits] [llvm/llvm-project] 9aa816: [PowerPC] Collect some CallLowering arguments into...

Sean Fertile via All-commits all-commits at lists.llvm.org
Wed Jan 22 13:56:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aa816a816b31642b38ff9c2eac9a3f9b6f7724f
      https://github.com/llvm/llvm-project/commit/9aa816a816b31642b38ff9c2eac9a3f9b6f7724f
  Author: Sean Fertile <sd.fertile at gmail.com>
  Date:   2020-01-22 (Wed, 22 Jan 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCISelLowering.h

  Log Message:
  -----------
  [PowerPC] Collect some CallLowering arguments into a struct. [NFC]

Collect the calling convention and a number of boolean arguments into a
structure to slightly reduces the number of arguments passed around between
LowerCall_<Subtarget>, FinishCall and a few of the helpers. Also
calulates if a call is indirect once using the exisitng helper and caches the
result replacing several instances where we duplicated the logic determining if
a call is indirect.




More information about the All-commits mailing list