[all-commits] [llvm/llvm-project] 0867a9: [VPlan] Use isa<> instead of directly checking VPR...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Oct 2 09:48:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0867a9e85ace8ed0b11f6a7fc4c9e4bb1606263b
      https://github.com/llvm/llvm-project/commit/0867a9e85ace8ed0b11f6a7fc4c9e4bb1606263b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

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

  Log Message:
  -----------
  [VPlan] Use isa<> instead of directly checking VPRecipeID (NFC).

getVPRecipeID is intended to be only used in `classof` helpers. Instead
of checking it directly, use isa<> with the correct recipe type.




More information about the All-commits mailing list