[all-commits] [llvm/llvm-project] af98b8: [VPlan] Use range check in VPHeaderPHIRecipe::clas...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Aug 28 07:55:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af98b875e89e3b8071f4c617916b5b9590cc30cc
      https://github.com/llvm/llvm-project/commit/af98b875e89e3b8071f4c617916b5b9590cc30cc
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

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

  Log Message:
  -----------
  [VPlan] Use range check in VPHeaderPHIRecipe::classof (NFC).

This addresses a suggestion to simplify the check from D131989. This
also makes it easier to ensure that VPHeaderPHIRecipe::classof checks
for all header phi ids.




More information about the All-commits mailing list