[all-commits] [llvm/llvm-project] a2b18c: [LV] Simplify tryToWiden as recipes are not re-use...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Apr 4 10:33:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a2b18c5a0809af2473db795538cc6ce04670e877
      https://github.com/llvm/llvm-project/commit/a2b18c5a0809af2473db795538cc6ce04670e877
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-04-04 (Sat, 04 Apr 2020)

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

  Log Message:
  -----------
  [LV] Simplify tryToWiden as recipes are not re-used (NFC).

After 49d00824bbbb, VPWidenRecipe only stores a single instruction.
tryToWiden can simply return the widen recipe, like other helpers in
VPRecipeBuilder.




More information about the All-commits mailing list