Move print op stats pass to analysis.
authorJacques Pienaar <jpienaar@google.com>
Thu, 27 Dec 2018 13:53:15 +0000 (05:53 -0800)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 21:39:19 +0000 (14:39 -0700)
commit057984d05d982dc1061a84dfd075498531642d2b
treef09dfad2cfaa51e341b6e41b47d5ff295f025c88
parent150b1a859e8cd69857b3510c1fbe7252b4261658
Move print op stats pass to analysis.

Move PrintOpStatsPass out of tools and to other passes (moved to Analysis as it
doesn't modify the program but it is different than the other analysis passes
as it is only consumer at present is the user).

PiperOrigin-RevId: 227018996
mlir/lib/Analysis/OpStats.cpp [new file with mode: 0644]
mlir/tools/mlir-opt/OpStats.cpp [deleted file]