[PATCH] D96628: [VPlan] Add plain text (not DOT's digraph) dumps

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 12:42:05 PST 2021


a.elovikov created this revision.
a.elovikov added reviewers: fhahn, gilr, Ayal.
Herald added subscribers: tschuett, psnobl, rogfer01, bollu, hiraditya.
a.elovikov requested review of this revision.
Herald added subscribers: llvm-commits, vkmr.
Herald added a project: LLVM.

I foresee two uses for this:

1. It's easier to use those in debugger.
2. Once we start implementing more VPlan-to-VPlan transformations (especially inner loop massaging stuff), using the vectorized LLVM IR as CHECK targets in LIT test would become too obscure. I can imagine that we'd want to CHECK against VPlan dumps after multiple transformations instead. That would be easier with plain text dumps than with DOT format.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96628

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/test/Transforms/LoopVectorize/icmp-uniforms.ll
  llvm/test/Transforms/LoopVectorize/vplan-printing.ll
  llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
  llvm/unittests/Transforms/Vectorize/VPlanTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96628.323452.patch
Type: text/x-patch
Size: 26160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210212/ebd52633/attachment.bin>


More information about the llvm-commits mailing list