[MachinePipeliner] Add ORE for MachinePipeliner
authorJinsong Ji <jji@us.ibm.com>
Tue, 5 May 2020 14:27:59 +0000 (14:27 +0000)
committerJinsong Ji <jji@us.ibm.com>
Tue, 5 May 2020 16:04:53 +0000 (16:04 +0000)
commit80b78a47e5370ca3a0d2b3cc8e30c3ce1674b298
tree49df70ca6c7598c7378992ea28f76f6d3ee2025f
parent4e3c005554f9fd886e838b0cdc533f43ab819867
[MachinePipeliner] Add ORE for MachinePipeliner

This patch adds ORE for MachinePipeliner, so that people can anaylyze
their code using opt-viewer or other tools, then optimize the code to
catch more piplining opportunities.

Reviewed By: bcahoon

Differential Revision: https://reviews.llvm.org/D79368
llvm/include/llvm/CodeGen/MachinePipeliner.h
llvm/lib/CodeGen/MachinePipeliner.cpp
llvm/test/CodeGen/PowerPC/sms-remark.ll [new file with mode: 0644]