[all-commits] [llvm/llvm-project] 9449de: [LV] NFC: Move logic to query maximum vscale to it...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Thu Feb 23 07:15:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9449deda12c4842335497338c7f6928f1783c7e4
      https://github.com/llvm/llvm-project/commit/9449deda12c4842335497338c7f6928f1783c7e4
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LV] NFC: Move logic to query maximum vscale to its own function.

To query the maximum value for vscale, the LV queries the vscale_range
attribute or a TTI hook. To avoid having to reimplement the same behaviour
for multiple uses (such as in D142894), it makes sense to move this code
to a separate function.




More information about the All-commits mailing list