[all-commits] [llvm/llvm-project] 2265bb: [LV] Update generateInstruction to return produced...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Jul 5 11:54:48 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2265bb064bc05ec8a07383ab1d6a0fd73dd2ee67
      https://github.com/llvm/llvm-project/commit/2265bb064bc05ec8a07383ab1d6a0fd73dd2ee67
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

  Log Message:
  -----------
  [LV] Update generateInstruction to return produced value (NFC).

Update generateInstruction to return the produced value instead of
setting it for each opcode. This reduces the amount of duplicated code
and is a preparation for D153696.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D154240




More information about the All-commits mailing list