[all-commits] [llvm/llvm-project] 9129e7: [LV] Replace OrigPHIsToFix in native with VPlan tr...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Jun 13 14:21:58 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9129e7bb541b8f83a0acefe541b6887837178d8e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

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

  Log Message:
  [LV] Replace OrigPHIsToFix in native with VPlan traversal. (NFC)

OrigPHIsToFix is only used in the native path. Collecting phis can be
replaced by iterating over the plan. This also removes another
unnecessary use of a late getVPValue.

This also reduces the coupling between ILV and the VPlan utilities.

More information about the All-commits mailing list