[all-commits] [llvm/llvm-project] debca7: [VPlan] Move dropping of poison flags to VPlanTran...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Feb 14 04:30:00 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: debca7ee43522e1702ade36f4954517e35f82886
      https://github.com/llvm/llvm-project/commit/debca7ee43522e1702ade36f4954517e35f82886
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

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

  Log Message:
  -----------
  [VPlan] Move dropping of poison flags to VPlanTransforms. (NFC)

Move collectPoisonGeneratingFlags from InnerLoopVectorizer to
VPlanTransforms and also update its name. collectPoisonGeneratingFlags
already directly drops poison-generating flags, not only collecting it.
This means it is more appropriate to integerate it directly into the
VPlan transform pipeline.

The current implementation still calls back to legal to check if a block
needs predication, which should be improved in the future.




More information about the All-commits mailing list