[all-commits] [llvm/llvm-project] ad55d5: Simplify vectorcall argument classification of HVA...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Thu Jan 7 11:14:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad55d5c3f32f6598f8ac30b68f4961d82cdb1fed
      https://github.com/llvm/llvm-project/commit/ad55d5c3f32f6598f8ac30b68f4961d82cdb1fed
  Author: Reid Kleckner <rnk at google.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp

  Log Message:
  -----------
  Simplify vectorcall argument classification of HVAs, NFC

This reduces the number of `WinX86_64ABIInfo::classify` call sites from
3 to 1. The call sites were similar, but passed different values for
FreeSSERegs. Use variables instead of `if`s to manage that argument.




More information about the All-commits mailing list